The "window_get_cursor_sprite" Function

Syntax

window_get_cursor_sprite();
ArgumentTypeDescription
N/AN/ANo parameters

Description

Returns the current sprite assigned to the cursor, if any, using consistent syntax with the primary window_get_cursor function. If no sprite is currently assigned, cr_none will be returned instead.

Example

if (window_get_cursor_sprite() == cr_none) {
window_set_cursor_sprite(spr_cursor);
}