Login | Register

Showing the Exact Location of the Mouse

January 25, 2009, 01:38 by Nano
[loading]
-->


All you need to do is create an object and insert
draw_text(insert desired x,insert desired y, string(mouse_x)
draw_text(insert desired x,insert desired y, string(mouse_y)

into its Draw Event.
If you want to show the exact location of an object, just replace mouse_x and mouse_y with objectname.x and objectname.y

Comments

Loading comments... [loading]
.
Users logged in:
BUDSTER

game maker articles, game maker examples, game maker tutorials, gmtutorials, game maker questions and answers, game maker crash course, how to create games