Difference between revisions of "GET MOUSE POSITION"

From GTAMods Wiki
Jump to navigation Jump to search
 
Line 7: Line 7:
 
}}
 
}}
  
This function gets position of game mouse(cursor) and returns it as X and Y coordinates. This function tracks mouse ever if you are not in pause menu.
+
This function gets position of game mouse(cursor) and returns it as X and Y coordinates. This function tracks mouse even if you are not in pause menu.

Latest revision as of 00:05, 14 August 2020

GET_MOUSE_POSITION
Number of parameters: 2
Parameter #TypeDescription
1.Handler(float)Handler for X coord
2.Handler(float)Handler for Y coord
Return value:
TypeDescription
None

This function gets position of game mouse(cursor) and returns it as X and Y coordinates. This function tracks mouse even if you are not in pause menu.