timeline_moment_clear

With this function you can clear a specific moment of any previously defined time line of all codes and actions.

 

Syntax:

timeline_moment_clear(ind, step);

ArgumentTypeDescription
indTimeline AssetThe index of the timeline to clear.
stepRealThe moment to clear.

 

Returns:

N/A

 

Example:

timeline_moment_clear(global.tl, game_get_speed(gamespeed_fps) * 30);

The above code will clear the specified moment of the time line indexed by the variable global.tl.