Function

onCleanup

(action: () => void): void

Cleanup function to run when quit() is called.

param action- The function to run when the event is triggered.

since v3000.0

group Events

kaplay logo

Layer

Miscalenous