# 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*.

![](https://2976860065-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx7Nd93HqSNPpv2JhrViE%2Fuploads%2FDqdfj8syMwXmazF3tW2f%2Fimage.png?alt=media\&token=9c19fcba-9fc0-470e-a208-b26762b3cfe5)

## Properties

In addition to all the properties of its parent class, [Fixed Length Effect](https://docs.anyrpg.org/scriptable-objects/ability-effects/knock-back-effect), 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](https://docs.anyrpg.org/scriptable-objects/abilities).
* Add a knock back effect to another [Ability Effect](https://docs.anyrpg.org/scriptable-objects/ability-effects) to chain them together.
