SetStartEndTime()
Updated: 9 Jun 2026
Updated: 9 Jun 2026
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.
bool SetStartEndTime(int start_time, int end_time);
start_time | The start time. |
end_time | The end time. |
returns true if successful or false if not.
function Update()
{
layer = Document.FindLayer("My Layer");
node = layer.FindNode("Image 2D");
node.SetStartEndTime(6000, 12000); // 1 second to 2 seconds
}