window_mouse_get_x()

From ENIGMA

Jump to: navigation, search

Description

Gets the x value of the mouse coordinate relative to the game window, and returns the result.

Parameters

Parameter Description
none this function has no parameters

Return Values

integer: Returns the x value of the mouse coordinate relative to the window.

Example Call

// demonstrates getting the window mouse position
var wmx, wmy;
wmx = window_mouse_get_x();
wmy = window_mouse_get_y();
Personal tools
Namespaces
Variants
Actions
Navigation
ENIGMA
Other
Toolbox