The "vngen_set_cursor" Function
#
SyntaxArgument | Type | Description |
---|---|---|
default | sprite/constant | Sprite or cursor state to assign as default cursor |
pointer | sprite/constant | Sprite or cursor state to assign as pointer cursor |
#
DescriptionVNgen 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
.