Function

onFixedUpdate

(action: () => void): KEventController

Register an event that runs at a fixed framerate.

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

returns The event controller.

since v3001.0

group Events

Function

onFixedUpdate

(tag: Tag, action: (obj: GameObj) => void): KEventController
kaplay logo

Layer

Miscalenous