Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | IndigoGames |
So i’m trying write a script that moves 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 ,using the mouse coordinates, with out any offset between the box and the mouse and without anything strange happening. The only toturials i found for this are for 2d games?
Any ideas?