onSceneLeave(action: (newScene?: string)=>void): KEventController

Register an event that runs when current scene ends.

sincev3000.0

kaplay logo

3001.0.0-alpha.18

Misc