# Paths

With paths, builders can make elements move around the room. The elements can have z-index, hitboxes, interactions and animations. These will all move along the path with the element.

## Create a Path

To add a path go to **Build menu > Elements > Path**.

Builders can drag the path-points to any position:

* To add a new path-branch, hover over it and click the **+** icon.
* To add a point in between existing points, hold `CMD` or `CTRL`, and click on the line.

<figure><img src="https://107867006-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdnMYfhsZ5GJTgbm1KIe7%2Fuploads%2FEiwpBpWuNsJctZ7gNwCB%2FEdit%20a%20path.gif?alt=media&#x26;token=b09bb0f4-5324-4135-b604-4d3276620285" alt=""><figcaption><p>Edit a path.</p></figcaption></figure>

## Add Elements to Path

To make an element follow the path, just drag and drop it on to one of the points. The path-point will turn green. Multiple elements can be on the same path.

There’s a few settings builders can edit:

* The speed at which the elements move.
* The direction the elements should move in (left, right and both).

In the example below, we've placed a guard on a patrol path, moving in a single direction around our treasure-topped tower.&#x20;

<figure><img src="https://107867006-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdnMYfhsZ5GJTgbm1KIe7%2Fuploads%2FXAVEVa2KPeoF5jhtIZ86%2FCleanShot%202023-08-17%20at%2014.38.17.gif?alt=media&#x26;token=ca4786e8-9836-41ca-bde5-855c5809ee10" alt=""><figcaption><p>Place objects on a path.</p></figcaption></figure>
