A countdown timer.
Counts down a specified interval and emits a signal on reaching 0. Can be set to repeat or "one shot" mode.
Returns [code]true[/code] if the timer is stopped.
Starts the timer. Sets [code]wait_time[/code] to [code]time_sec[/code] if [code]time_sec[/code] > 0. This also resets the remaining time to [code]wait_time[/code].
Note: this method will not resume a paused timer. See [method set_paused].
Stops the timer.
If [code]true[/code], the timer will automatically start when entering the scene tree. Default value: [code]false[/code].
If [code]true[/code], the timer will stop when reaching 0. If [code]false[/code], it will restart. Default value: [code]false[/code].
If [code]true[/code], the timer is paused and will not process until it is unpaused again, even if [method start] is called.
Processing mode. See [enum TimerProcessMode].
The timer's remaining time in seconds. Returns 0 if the timer is inactive.
Note: You cannot set this value. To change the timer's remaining time, use [member wait_time].
Wait time in seconds.
Emitted when the timer reaches 0.
Update the timer during the physics step at each frame (fixed framerate processing).
Update the timer during the idle time at each frame.