Private constructorThe BorderSize of the element that will be the _timeUI Parent.
Private Optional _activeThis is the active tween on the bar if the Timer._type is TimerType.Bar.
Private _lastThe last time that was started on this Timer. It's mainly for Timer.Reset.
Internal _time0 if no start is passed to the constructor.
The current time in seconds of this timer.
Internal _timeUIThis is the Instance that will represent the time for a TimerType.Digit it would be a TextLabel; TimerType.Bar.
Readonly Internal _typeThe TimerType of this Timer.
Sets the position of the Time UI on the prompt. See TimerPosition.
The position to set
void
Private updateUIPrivate Updates the current Timer._timeUI to reflect the updated time.
Generated using TypeDoc
Timer
The Timer class is designed to create a timer in seconds that can be displayed on a Bar or with a digital TextLabel.