# Disable State Machine Runner Node

Disables a State Machine node from a specific target runner.

## Description

Disables a node on a State Machine Runner, preventing it from executing. The node remains in the graph but will not run until it is enabled again.

## Parameters

| Name       | Description                                                  |
| ---------- | ------------------------------------------------------------ |
| **Target** | The target GameObject that contains the State Machine Runner |
| **Node**   | The node to disable on the specified State Machine           |

## Keywords

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

## Example

```
Actions Component:
└─ Disable State Machine Runner Node
    ├─ Target: Player
    └─ Node: "SprintNode"
```

This disables the "SprintNode" on the Player's State Machine Runner, preventing sprinting.

{% hint style="warning" %}
Disabled nodes will not execute even if transitions lead to them. Make sure to re-enable nodes when appropriate using **Enable State Machine Runner Node**.
{% 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/disable-node.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.
