Trimmed layers
A layer lasts the whole timeline until it is given a start or an end. Outside its time range it isn't drawn: in the editor, in the State machine's preview and in every export. Here a sparkle that twinkles all the time shows up only for a moment.
Step by step
Select the sparkle
Click the sparkle in the sky. Every layer's inspector has Time range, with Starts and Ends: both grey (Start, End) until they are set.
Give it a start
Type 1 in Starts and press Enter. Before 1 second the sparkle isn't drawn; 0 brings Start back.
Give it an end of its own
Click the link button beside Ends. Linked, the layer ends with the timeline whatever its length; unlinked, it has an end of its own (the timeline's length at first).
Set the end
Type 2.4 in Ends and press Enter. On the timeline the layer's bar now covers 1 – 2.4 s, with a grip inside each end; a keyframe outside the range is kept, but faded.
Drag the start
Drag the grip at the start of the sparkle's bar to 0.5 s. Dragging a grip sets the time; an end dragged to the timeline's end links again.
Play it
Click Play, or press Space: the sparkle shows up at 0.5 s, twinkles, and is gone at 2.4 s.
Keys
| Space | Play and pause |