# Stop State Machine Node

Stops a node from State Machine asset.

## Description

Immediately stops a currently executing node in a State Machine asset. This cancels execution on all runners using this asset.

## Parameters

| Name     | Description                           |
| -------- | ------------------------------------- |
| **Node** | The node to stop in the State Machine |

## Keywords

`Stop`, `Cancel`, `Instruction`, `Action`, `State Machine`, `Runner`

## Example

```
Actions Component:
└─ Stop State Machine Node
    └─ Node: "BackgroundProcessNode"
```

This stops the "BackgroundProcessNode" in the State Machine asset.

{% hint style="danger" %}
This instruction affects **all runners** using this State Machine asset. All running instances of this node will be stopped immediately.
{% 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/stop-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.
