With this function you can clear a specific time line of "moments", removing all codes and actions for that time line and leaving it empty.
timeline_clear(ind);
Argument | Type | Description |
---|---|---|
ind | Timeline Asset | The index of the timeline to clear. |
N/A
if (timeline_position > 200)
{
timeline_clear(global.tl);
timeline_index = -1;
}
The above code will clear the specified time line indexed by the variable "global.tl" of all moments when a specific moment has been passed.