Skip to content

Kiln API / kiln / onExit

Function: onExit() ​

ts
function onExit<S>(s, value): Condition;

Run condition: true on the first frame (in Fixed: step) after value was left.

Type Parameters ​

Type Parameter
S extends string

Parameters ​

ParameterType
sState<S>
valueS

Returns ​

Condition