GetCursorPos

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Returns the current X/Y screen coordinate of the mouse cursor (in MenuMode only).

Syntax

[help]
(pos:float) GetCursorPos axis:X/Y

Example

set fCursorX to GetCursorPos X
set fCursorY to GetCursorPos Y 

Notes

  • The screen's (0, 0) is at the top-left corner.

See Also