# Paths

The *Paths* feature allows authors to set up predefined paths for objects to follow in the scene. Special objects, like the train, can even carry the player along these paths.

#### Creating Paths

In Edit Mode, go to the *Paths* tab.

<figure><img src="https://2704613365-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxYaaXoZ4YGbVdAnAhdcE%2Fuploads%2FOhsMFy7Q31SrEfvHGetP%2Fimage.png?alt=media&#x26;token=191b654e-92e3-46fa-a4ba-3c0181dc76b9" alt=""><figcaption></figcaption></figure>

Type the name for your new path and click the "+" icon to start editing.

<figure><img src="https://2704613365-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxYaaXoZ4YGbVdAnAhdcE%2Fuploads%2FIt0at3tm7HWUHKD8hMPD%2Fimage.png?alt=media&#x26;token=46ae0b79-c833-4da3-b307-f72236b0c570" alt=""><figcaption></figcaption></figure>

To create the path, click or drag along surfaces in the scene. Blue markers will appear at each checkpoint.

* To finalize, press ENTER or click the confirm button. To cancel, press ESC or click cancel.

<figure><img src="https://2704613365-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxYaaXoZ4YGbVdAnAhdcE%2Fuploads%2FGqMhv7X21ZMEzMNiVTU8%2Fimage.png?alt=media&#x26;token=b10aacc0-535e-41cd-ba00-020e377070f4" alt=""><figcaption></figcaption></figure>

Adjusting Paths

Once created, select your path from the dropdown menu to adjust its settings. A green line will indicate your path.

<figure><img src="https://2704613365-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxYaaXoZ4YGbVdAnAhdcE%2Fuploads%2FlnfRomGBd5oeRbv6z8PV%2Fimage.png?alt=media&#x26;token=dd191f94-7247-4a84-b433-7294dedc9921" alt=""><figcaption></figcaption></figure>

#### Moving Objects Along Paths

1. Under *Object to Move*, select the object from the dropdown and click "To Start" to place it at the start of the path.
2. Use *Preview* to see the object in motion.
3. Adjust the traversal time (in seconds) for the object to complete the path.
4. Use *Offset* to reposition the object if it clips through surfaces.

#### Moving Object at Experience Time

To control an object's movement along a path during experience time, use the Paths state action.

1. In the rules or scenario flow, add a *Paths* state action.
2. Use the *Run* action to start moving the object along the selected path or *Stop* to halt its movement.
3. Choose the specific path to manipulate from the dropdown menu.

This allows objects to dynamically start or stop moving on their paths based on in-experience conditions.

<figure><img src="https://2704613365-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxYaaXoZ4YGbVdAnAhdcE%2Fuploads%2Fd59Bvc0LxNdqJiebZm5H%2Fimage.png?alt=media&#x26;token=9189c17f-dad6-4ea2-a806-bb9611be1d40" alt=""><figcaption></figcaption></figure>
