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: boolean
If the event is paused
cancel(): void
Cancel the event