> For the complete documentation index, see [llms.txt](https://slashin8r.gitbook.io/universal-monster/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://slashin8r.gitbook.io/universal-monster/features/behavior-system/tasks/attack.md).

# Attack

The **Attack** task will execute the currently chosen attack as long as **Set Attack** was used in a previous task. It is recommended to use **Set Attack** in a **Chase** task with **Maintain Range** enabled. This will make the AI choose an attack and then get into range to use the attack.
