The "vngen_set_cursor" Function


vngen_set_cursor(default, pointer);
defaultsprite/constantSprite or cursor state to assign as default cursor
pointersprite/constantSprite or cursor state to assign as pointer cursor


VNgen uses cursor states for visual feedback on desktop platforms when hovering clickable entities. By default, the system cursors are used, but some users may wish to replace system cursors with custom images of their own. This script assigns a pair of sprites to be displayed in place of system cursors for both default and hovering states. It is also possible to assign built-in cursor states as the default and pointer cursor, or hide cursors entirely with the constant cr_none.


vngen_set_cursor(spr_cur_default, spr_cur_pointer);