User Tools

Site Tools


prpl:usercanceled

This is an old revision of the document!


<- PRPL reference <- SECTION

UserCanceled

ArgumentsResultNotation
Cancelled? [ - bool ]

Description

Returns true on a frame when the user cancelled - space, esc, etc…

Useful for detecting deselection.

Note that this command uses the single-“l” spelling of “cancelled”.

Examples

UserCanceled if
    0 ->Selected
endif
prpl/usercanceled.1498971288.txt.gz · Last modified: 2025/02/14 14:56 (external edit)