# Sequence

---

### Attach Sequence To

[Creating sequences](https://simlab-soft.com/help/books/simlab-composer-help/page/sequence-timeline) can be done from animating an object in the scene. This sequence can be attached to Hand or an Object in VR.

#### Hand

With sequences available in the Sequences Library, a sequence can be attached to the Hand in VR experience using this node in Dynamic Training Builder.

#### Example

Check this [tutorial ](https://www.youtube.com/watch?v=YkPAQTO5GKE)for the example below, where Boolean expressions were created and upon checking the Boolean Expression a sequence is attached to Hand.

[![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-09/scaled-1680-/EtGimage.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-09/EtGimage.png)

#### Object

This node can be used to connect a controller grabbable object to a sequence in VR.

#### Example

In the example below the "Switch" sequence is attached to "Handle" object, when Controller "Gloves" geometry moves it. In this example a simple grabbable sequence can do the job, but this is just to demonstrate use of this node.

[![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-09/scaled-1680-/HOwimage.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-09/HOwimage.png)

[![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-09/scaled-1680-/Y4ximage.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-09/Y4ximage.png)

#### Example 2

In this example we have a path for a box to walk along being controlled by a magnet.

[![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-09/scaled-1680-/5Cnimage.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-09/5Cnimage.png)

[![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-09/scaled-1680-/095image.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-09/095image.png)

---

### Playback Controls

Used to control sequence behavior.

#### Continue

##### Same Direction

The selected sequence will continue[![J0Simage.png](https://simlab-soft.com/help/uploads/images/gallery/2025-09/scaled-1680-/GDxj0simage.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-09/GDxj0simage.png)

to play in the same direction.

##### Set Direction

[![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-09/scaled-1680-/Niaimage.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-09/Niaimage.png)With this node the user can change the selected sequence direction, by selecting Reverse to True.

##### Example

In the below example a number of the above Playback Controls are used. Here on "**Scene Start**","**Play Sequence**" response is executed for "Elevator\_Up" sequence. Followed by a 1 second "**Delay**", then "**Stop Sequence**" for another one second "**Delay**". Then the sequence is continued, followed by another "**Delay**" then "**Resume Animation Sequence**" from start.

[![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-10/scaled-1680-/iEZimage.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-10/iEZimage.png)

#### Play

##### Play Sequence/Play Sequence From Start

Both controls will play animation sequence, one from current position, and the other -as the name implies- will play it from start.

#### Reverse

##### Reverse

Reverse sequences starts the animation sequence in the reverse mode (from the last frame). The reverse control will start from the last frame not from the current (because it reverses the overall animation)

In the below example the "Elevator\_Up" sequence upon clicking "Elevator\_panel(2)" geometry will be played from start. So if the elevator at that time was at the top position, it would go down then -as the sequence implies- would go up, then wait for 5 seconds, then "Reverse Sequence" that is go down from last frame.

[![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-10/scaled-1680-/TSAimage.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-10/TSAimage.png)

####   


####   


####   


####   


##### Reverse From End


This control will start the sequence from the end, even if it hasn’t been played yet.

[![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-10/scaled-1680-/QSBimage.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-10/QSBimage.png)

#### Flip

Flip sequences flips current animation (that is, forward animation will be backward , backward animation will be forward). Think about it like we are opening a door and we pause the animation in the middle, flip control will return the door back from the current frame to original start position.

#### Stop

Stopes the animation sequence, as shown in examples presented in this section.


---

### Playback Properties

#### Current Frame

##### Get Sequence Current Frame

This node will get the value of the current sequence frame, the user can then use this value in any operation. In the example below the value of the current sequence frame is stored in "Current\_Frame" variable, which is set to the "VR Variable Writer" in the scene to display its value.

[![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-10/scaled-1680-/0ESimage.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-10/0ESimage.png)

[![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-10/scaled-1680-/eqmimage.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-10/eqmimage.png)

#####   


##### Set Sequence Current Frame

If the user wants to go to a specific frame in the sequence this is the function to use. In the below example upon clicking node the sequence current frame is set to 10.

[![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-10/scaled-1680-/8l6image.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-10/8l6image.png)

To show the result we got the valued of the current frame and assign it to "Current\_Frame" variable that is displayed in the variable writer as shown below.

[![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-10/scaled-1680-/PSnimage.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-10/PSnimage.png)

#### Full Range

This node can be used to calculate the full range of a sequence.

##### Get End

Gets and outputs the end frame of the selected [![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-10/scaled-1680-/tddimage.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-10/tddimage.png)

sequence, when triggered.

#####   


##### Get Start


Gets and outputs the start frame of the selected [![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-10/scaled-1680-/b3timage.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-10/b3timage.png)

sequence, when triggered.

#### Looping

Sequences can be set to loop after finishing.

##### Get Sequence Looping

This node will get the looping status of the input[![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-10/scaled-1680-/2m2image.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-10/2m2image.png)

sequence, whether true or false.

#####   


##### Set Sequence Looping

This node will set the looping status for the input [![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-10/scaled-1680-/ElPimage.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-10/ElPimage.png)

sequence to either true or false.

#### Play Range

[![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-10/scaled-1680-/LKqimage.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-10/LKqimage.png)

[![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-10/scaled-1680-/hK7image.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-10/hK7image.png)

[![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-10/scaled-1680-/dyeimage.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-10/dyeimage.png)

[![image.png](https://simlab-soft.com/help/uploads/images/gallery/2025-10/scaled-1680-/TQximage.png)](https://simlab-soft.com/help/uploads/images/gallery/2025-10/TQximage.png)

#### Play Rate (Speed)

#### Swing

#### Is Playing

#### Is Reversing

---

### Find By Name