API ReferenceScriptcomponentOnframeScriptComponent.onFrame() method Invoked each frame even if the game isnt running Signature: onFrame(dt: number): void; Parameters Parameter Type Description dt number **Returns:** void