+1 vote

So i'm trying to move a cgsBox, with na Area node in it, with the mouse. The problema isn't detecting if the box was clicked but its moving it with the cursor. I can't figure out how to move it with out any offset between the box and the mouse and without anything strange happening.
Have you some ideas???

EDIT:Trying to move it in the game.

asked Feb 2 in Engine by IndigoGames (69 points)
edited Feb 3 by IndigoGames

1 Answer

+1 vote

Is this in the Editor or in the Game itself while running. It's not clear to me, but I believe you are meaning the editor right?

Can you use the Gizmo for the node? If you click on a Node in your Scene tab, then it should allow you to use a Gizmo that will allow you to manipulate the Node you have selected.

Take a look at my image, see how my CSGBox has a gizmo on it, I can use it to move it with my mouse. You can also move and rotate your node.

answered Feb 3 by whitesundreams (27 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.