move_to_mouse

Downloadmove_to_mouse()   Moves the calling instance to the position of the mouse.
/*
**  Usage:
**      move_to_mouse()
**
**  Arguments:
**      none
**
**  Returns:
**      nothing, but moves the calling instance
**      to the position of the mouse
**
**  GMLscripts.com
*/

{
    x = mouse_x;
    y = mouse_y;
}

Click if you've used this script[Please Login]
Projects: 10


comments powered by Disqus