timer.allowInterationsWithinFrame

Type Boolean
Library timer.*
Revision Release 2022.3683
Keywords timer, allowInteractionsWithinFrame

Overview

Changes the behavior of the timer object to provide events as soon as possible instead of waiting until the next frame to execute. The default behavior is false, meaning that timers fire on frame intervals. Setting this to true will enable the events to arrive as soon as possible.

Syntax

timer.allowInteratonsWithinFrame

Example

timer.allowInterationsWithinFrame = true