jump_to_mouse
I know what you're thinking. This is a dumb script. At first I thought so, too. Well, let me tell you something. There is something to be said for abstraction using descriptive functions. That's why this script exists.
- jump_to_mouse()
- Moves the calling instance to the position of the mouse cursor.
COPY/// jump_to_mouse()
//
// Moves the calling instance to the position of the mouse cursor.
//
/// gmlscripts.pro/license
{
x = mouse_x;
y = mouse_y;
return 0;
}
Contributors: bob
GitHub: View · Commits · Blame · Raw