# CategoryPath

> The category path used to place the transition creation action in a submenu of the state context menu.

## Definition

* **Type:** Property
* **Namespace:** [Unity.GraphToolkit.Editor](/engine/6000.7/script-reference/unity/graphtoolkit/editor.md)
* **Assembly:** UnityEditor

```csharp
public string CategoryPath { get; }
```

### Remarks

Use `/` to separate nested submenus. For example, a [TransitionAttribute.CategoryPath](/engine/6000.7/script-reference/unity/graphtoolkit/editor/transitionattribute/categorypath.md) of `"Transitions/Advanced"` places the transition under the `Transitions/Advanced` submenu. If the category path is null or empty, the transition creation action appears at the root of the context menu.
