Skip to content

window_get_cursor

drewmccluskey edited this page Feb 12, 2019 · 1 revision

window_get_cursor

returns the current state of the mouse cursor

Syntax:

window_get_cursor()

Returns: int

Description:

This function returns the state of the mouse cursor as an integer. It is useful for checking if the cursor is visible or not.

Example:

int cursor_visible = window_get_cursor();

The above code will set in cursor_visible to the current state of the window cursor.

Back to window-functions

Clone this wiki locally