timer_get_sequence_curpos - kemonologic/fuwafuwa GitHub Wiki

timer_get_sequence_curpos(timer)

Returns: (real) The index of the current node in the timer sequence, starting at zero.

Argument Type Name Desc
0 map timer The timer to check.

Returns the index of the current node in the timer sequence, starting at zero. For example, if you made a timer with timer_create([500,1000] and the timer had finished the 500 node and was currently on the 1000 node, it would return 1.