Class
KEventController
:A controller for all events in KAPLAY.
// Create a new event
const logHi = onUpdate(() => {
debug.log("hi");
});
// Pause the event
logHi.paused = true;
// Cancel the event
logHi.cancel();
group
Events
paused
: booleanIf the event is paused
cancel
: () => voidCancel the event