# Run State Machine Node

Executes a node from State Machine asset.

## Description

This instruction triggers execution of a specific node directly on a State Machine asset. Unlike runner instructions, this affects the asset itself and all runners using it.

## Parameters

| Name     | Description                                          |
| -------- | ---------------------------------------------------- |
| **Node** | The node to execute from the specified State Machine |

## Keywords

`Execute`, `Call`, `Instruction`, `Action`, `State Machine`, `Run`

## Example

```
Actions Component:
└─ Run State Machine Node
    └─ Node: "GlobalEventNode"
```

This executes the "GlobalEventNode" on the State Machine asset.

{% hint style="warning" %}
This instruction affects **all runners** using this State Machine asset. Use for global events that should trigger everywhere.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ninjutsugames.com/game-creator-2/state-machine-2/visual-scripting/instructions/run-node-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
