> For the complete documentation index, see [llms.txt](https://ilumisoft.gitbook.io/visual-state-machine/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ilumisoft.gitbook.io/visual-state-machine/get-started/create-a-state-machine.md).

# How to Create a State Machine

There two ways creating a State Machine with VSM:

* Right click in the **Scene** and select **Ilumisoft->State Machine**\ <br>

  <figure><img src="https://3979764177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MCgKLjperRFhHlR4O0p%2Fuploads%2FBFpcLZMREdm24fi1X0KD%2Fimage.png?alt=media&amp;token=0d0d3357-ba0b-4386-883a-f507762bf25b" alt=""><figcaption></figcaption></figure>
* Select the **GameObject** you want to add a State Machine to in the inspector and add the **StateMachine** component to it via **Add Component**
