|sprite||The sprite to assign as a mouse cursor|
Assigns a sprite to the cursor using consistent syntax with the primary
window_set_cursor function. Note that the sprite origin point will be used as the cursor hotspot.
While it is not required, it is highly recommended to include
obj_gmlp in the project when using this script. The
obj_gmlp object will handle automatically switching between system and sprite cursor types, as well as provide additional mouse coordinate and visibility variables. (See Built-in Variables for a complete list.)
To disable the cursor sprite, use
cr_none. However, if
obj_gmlp is present,
cr_none will be ignored, and you should use
mouse_visible = false to hide the cursor, or
window_set_cursor(cr_default) to restore the system cursor instead.