---
description: This page goes over the onJump event.
---

# Jump event

### **This event is** [**cancellable**](../..#cancellable-events)**.**

This event will be called upon you jumping. Handler name is `onJump`.

### `getYaw(): Number`

Returns the yaw.

### `setYaw(yaw): Undefined`

| Argument | Type     | Description |
| -------- | -------- | ----------- |
| `yaw`    | `Number` | Yaw to set. |

Changes your yaw rotation.

### `setJumpMotion(motion): Undefined`

| Argument | Type     | Description           |
| -------- | -------- | --------------------- |
| `motion` | `Number` | Jump motion to apply. |

Changes your jump motion.

### `getYaw(): Number`

Returns the current jump yaw.

