Difference between revisions of "CursorX"

From Wiki
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
{{header|Miscellaneous|ro|Holds the current x-coordinate screen position of the mouse cursor.}}
+
{{header| Miscellaneous Variables|ro|Holds the current x-coordinate screen position of the mouse cursor.}}
 +
 
  
 
{{Note|the cursor coordinates (#cursorX and #cursorY) are given relative to the upper left corner of the clients game play window. above and to the left of the game play window, these coordinates will be negative.}}
 
{{Note|the cursor coordinates (#cursorX and #cursorY) are given relative to the upper left corner of the clients game play window. above and to the left of the game play window, these coordinates will be negative.}}
 +
  
 
==== Example ====
 
==== Example ====
Line 9: Line 11:
  
 
</pre>
 
</pre>
{{footer}}
+
=See Also=
 +
{{Miscellaneous Variables}}

Latest revision as of 10:10, 13 September 2007

Holds the current x-coordinate screen position of the mouse cursor.


Note: the cursor coordinates (#cursorX and #cursorY) are given relative to the upper left corner of the clients game play window. above and to the left of the game play window, these coordinates will be negative.


Example



See Also

Miscellaneous Variables

  • These system variables are not easily categorized in any other category, and therefore are placed here.
#shard Returns which shard you are logged into
#date Returns the local date on your computer
#time Returns the local time on your computer
#sysTime Counts the number of milliseconds since 01/Jan/1980 UTC
#sCnt Timer in seconds since Windows boot
#sCnt2 Timer in tenths of seconds since Windows boot
#pixCol Returns the color of the pixel last saved with savePix
#cursorX Returns the x-coordinate of the cursor
#cursorY Returns the y-coordinate of the cursor
#random Holds a random number
#dispRes Returns button clicked in last call to display
#lShard Set the last shard of your choice
#osVer Returns the OS version
#euoVer Returns the current EasyUO version