• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Problem with (jump to position)

Marogn

Member
there is a way to make an object jump to the position right next to the mouse? like (4_5_mouse.x) or something?
I use drag and drop btw, so no scripts.
And is there a place with information about these things?
Thanks.
 

Mr Magnus

Viking King
mouse_x and mouse_y are where the mouse is at any given point.

So something like "mouse_x + 5" would be "Five pixels to the right of where the mouse is on the X axis"
 
Top