Timer.new||doc136445

September 20, 2022

Format

Timer.new(delay, callback, ...)

Describe

Create a timer object.

parameter

Variable name Type Describe
delay int Number of frames to wait before each execution
callback function Callback function to be executed after waiting
tuple Default passed multigroup parameters

Return value

Type Describe
Timer Timer instance