<- 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