> For the complete documentation index, see [llms.txt](https://docs.anyrpg.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.anyrpg.org/scriptable-objects/ability-effects/knock-back-effect.md).

# Knock Back Effect

## Creation

To create a knock back effect, find (or create) the *GameName/Resources/GameName/AbilityEffect* folder (or any subfolder) in the project tab and right click.  Choose *Create > AnyRPG > Abilities > Effects > KnockBackEffect*.

## Properties

In addition to all the properties of its parent class, [Fixed Length Effect](/scriptable-objects/ability-effects/knock-back-effect.md), knock back effects have the following properties.

| Name                | Description                                                                                                                                                                                                                                    |
| ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Knockback Type      | <p>An enumeration of knockback types.<br><strong>Knockback</strong><br>The knockback direction will be calculated from the caster to the target.<br><strong>Explosion</strong><br>The knockback direction will be calculated from a point.</p> |
| Knock Back Velocity | The speed the character should be knocked back at.                                                                                                                                                                                             |
| Knock Back Angle    | The angle the character should be knocked upwards at.                                                                                                                                                                                          |
| Explosion Radius    | The radius from the center point point of the explosion where targets will be affected.                                                                                                                                                        |
| Explosion Force     | The amount of force to apply to targets of the explosion.                                                                                                                                                                                      |
| Upward Modifier     | The amount of upward force to apply to targets of the explosion.                                                                                                                                                                               |
| Explosion Mask      | The layers to hit when performing the explosion.                                                                                                                                                                                               |

## Next steps

* Add a knock back effect to an [Ability](/scriptable-objects/abilities.md).
* Add a knock back effect to another [Ability Effect](/scriptable-objects/ability-effects.md) to chain them together.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.anyrpg.org/scriptable-objects/ability-effects/knock-back-effect.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
