# AiState.getWantsJump

Check if the state wants to jump.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
aiState:getWantsJump(  )
```

[Open the full Game reference](../Game-Script-Environment/Userdata/AiState.md#getwantsjump)

**Availability:** Server only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `state` | [AiState](../Game-Script-Environment/Userdata/AiState.md) | The state. |

**Returns:**

| Type | Description |
| --- | --- |
| boolean | Returns true when the state wants to jump. |
