This is 2D
Hi, I havent used godot for a few months now. So when I came back and found this in one of my scrips "(get_ global_ mouse_position()-position).normalized()". Which in itself i understand what it does but not how.
So to explain the first part gets the mouse position then the second part "-position"" is so you can get a charater follow it staright to the position. Not just the x axel. then the last part is to normaliz the numbers. But i dont have a singel clue on how "-position" can make a thing follow your mouse on both axel on the same time
So my question is what does position in this thing actuly do?
is there any aditional information you need inform me