# Split Path

{% hint style="info" %}
Beta Feature - check **Show Beta Features** in the [Preferences Window](https://scenegroup.gitbook.io/cavalry/user-interface/menus/window-menu/preferences) to enable.
{% endhint %}

**Count** - set how sections to split the path into.

**Relative Counts** -&#x20;

**Travel** - move the paths along the Shape.

**Reverse** - reverse the direction of Travel.

{% hint style="info" %}
Example:

1. Draw an open path with the [Pencil](https://scenegroup.gitbook.io/cavalry/user-interface/menus/tool-menu/pencil-tool) tool.
2. In the [Attribute Editor](https://scenegroup.gitbook.io/cavalry/user-interface/menus/window-menu/attribute-editor), click the `+` icon on the **Deformers** attribute.
3. Select **Split Path**.
4. On the **Split Path**, set **Count** to **4**.
5. Repeat step 2 but select a [Sub-Mesh](https://scenegroup.gitbook.io/cavalry/nodes/behaviours/sub-mesh).
6. On the **Sub-Mesh**, open the **Stroke** tab and enable **Replace Stroke**.
7. Right click on the **Stroke Color** attribute and select `Add Array > Color Array`.
8. Add two more indices to the [Color Array](https://scenegroup.gitbook.io/cavalry/nodes/utilities/color-array) and set different colors for each.

You should now see the original path split into three different colors.
{% endhint %}
