Notch Notch Manual 0.9.23
 Light | Dark
JumpGlobalTime()

JumpGlobalTime()

Purpose #

Jump the timeline to time specified in seconds.

Syntax #

void JumpGlobalTime(float time)

Parameters

timeTime to jump to expressed in seconds (float)

Example #

var frame = 0;

function Update()
{
    if (frame % 100 == 0)
    {
        JumpGlobalTime(5.0);
    }
    frame = frame + 1;
}