Doble click to move actor on all axes

i wana move the actor by double
clicking in any direction

Your screen is 2d - so you can’t have any direction, and the space is 3d so you need to take that 3rd dimension from somewhere - perhaps you double click and the actor moves in the direction it’s facing?

Could you produce an example or a sketch of how this would work?