Wiki

Case Status
Log In

Wiki

 
Home ยป Action Reference»Input Actions»Get Mouse X
Index
Navigation
Community Wiki

Get Mouse X

Gets the x position of the mouse and stores it in a float variable.

Store
The float variable.
Normalize
Normalized coordinates are 0 to 1 (0 = left, 1 = right). Otherwise the coordinate is in pixels. Normalized coordinates are useful for resolution independent functions.

 

Note: To get mouse speed use Get Axis with "Mouse X" and "Mouse Y."

Tags:

Last modified on 2/8/2011 3:39 PM by User.

  • RSS Feed