> For the complete documentation index, see [llms.txt](https://riseclients-organization.gitbook.io/rise-6-scripting-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://riseclients-organization.gitbook.io/rise-6-scripting-api/api-documentation/events/module-events/hit-slow-down-event.md).

# Hit slow down event

This page goes over the onHitSlowDown event.

This event will be called upon you getting slowed down as a result of you attacking another entity. Handler name is `onHitSlowDown`. Default slowdown value is 0.6, default sprint value is false.

### `getSlowDown(): Number`

Returns the amount of slowdown.

### `setSlowDown(slowDown): Undefined`

| Argument   | Type     | Description                  |
| ---------- | -------- | ---------------------------- |
| `slowDown` | `Number` | Amount of slowdown to apply. |

Sets the amount of slowdown.

### `setSprint(sprint): Undefined`

| Argument | Type      | Description                        |
| -------- | --------- | ---------------------------------- |
| `sprint` | `Boolean` | Whether to allow sprinting or not. |

Allows you to enable/disable sprinting.

### `isSprint(): Boolean`

Returns if the sprinting state is set to true or not.
