# Capture Pet Effect

## Creation

To create a capture pet 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 > CapturePetEffect*.

![](https://2976860065-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx7Nd93HqSNPpv2JhrViE%2Fuploads%2F7Us9XS17H1Vxj0zHQ1g3%2Fimage.png?alt=media\&token=7bcd2528-49e0-499d-8c66-7e64a57d9d6d)

## Properties

In addition to all the properties of its parent class, [Fixed Length Effect](https://docs.anyrpg.org/scriptable-objects/ability-effects/..#fixed-length-effect-properties), capture pet effects have the following properties.

| Name                   | Description                                                                                                   |
| ---------------------- | ------------------------------------------------------------------------------------------------------------- |
| Unit Type Restrictions | A list of [Unit Types](https://docs.anyrpg.org/scriptable-objects/unit-type) that the ability can be cast on. |

## Next steps

* Add a capture pet effect to an [Ability](https://docs.anyrpg.org/scriptable-objects/abilities).
* Add a capture pet effect to another [Ability Effect](https://docs.anyrpg.org/scriptable-objects/ability-effects) to chain them together.
