Skip to content

Kiln API / kiln / stateChanged

Function: stateChanged() ​

ts
function stateChanged<S>(s): Condition;

Run condition: true on the first frame (in Fixed: step) after any transition of this state.

Type Parameters ​

Type Parameter
S extends string

Parameters ​

ParameterType
sState<S>

Returns ​

Condition