> 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/aoe-effect.md).

# AOE Effect

## Creation

To create an aoe 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 > AOEEffect*.

## Properties

In addition to all the properties of its parent class, [Fixed Length Effect](/scriptable-objects/ability-effects.md#fixed-length-effect-properties), aoe effects have a single property, *AOE Properties*, with the following fields.

| Name                   | Description                                                                                                                                 |
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| Aoe Radius             | The radius from the center of the target location which will be used to find valid targets.                                                 |
| Use Radius             | If true, the target finding algorithm will use a sphere with a radius to find targets.                                                      |
| Use Extents            | If true, the target finding algorithm will use extents to find targets.                                                                     |
| Aoe Center             | A Vector3 offset from the default center to use for finding targets.                                                                        |
| Aoe Extents            | If *Use Extents* is true, then these extents will be used to create the bounding box to find valid targets within it.                       |
| Max Targets            | The maximum number of valid targets that can be returned.  0 is unlimited.                                                                  |
| Prefer Closest Targets | If true, and *Max Targets* is not unlimited, the targets will be sorted by distance from the center, and the closest ones will be returned. |
| Inter Target Delay     | Set this value to a positive non-zero number if you want a delay between the time each target has additional effects cast on them.          |

## Next steps

* Add an aoe effect to an [Ability](/scriptable-objects/abilities.md).
* Add an aoe 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/aoe-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.
