User Tools

Site Tools


prpl:usercanceled

<- 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.txt · Last modified: 2017/07/02 00:54 by GoodMorning