Notch Notch
2026.2 2026.1 0.9.23
AI MCP
 Light | Dark
SetStartEndTime()

SetStartEndTime()

Updated: 9 Jun 2026

Purpose #

Sets the start time and end time of a node’s time segment (as per Notch timeline) in hundredths of a second.

Note that this only affects the first segment of a node.

Syntax #

bool SetStartEndTime(int start_time, int end_time);

Parameters

start_timeThe start time.
end_timeThe end time.

returns true if successful or false if not.

Example #

function Update()
{ 
    layer = Document.FindLayer("My Layer");
    node = layer.FindNode("Image 2D");
    node.SetStartEndTime(6000, 12000);  // 1 second to 2 seconds
}