> For the complete documentation index, see [llms.txt](https://tutorials.wow-jack.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tutorials.wow-jack.com/event-manager/events/cast-spell.md).

# Cast Spell

{% hint style="info" %}
Use this event to cast a specific spell (on a target).
{% endhint %}

***

## Index

1. [Cast Spell](#cast-spell)
2. [Cast on specified Target](#cast-spell-on-a-specified-target)

***

## Cast Spell

<div align="left"><figure><img src="/files/tyBVy2nYbAKHtb6e2dK2" alt=""><figcaption></figcaption></figure></div>

1. Select the spell you want to cast.\
   Click on "Reload" to reload your spells.
2. Specify the radius in yards in which Jack should search for enemies.
3. Enable "Do not check" if you don't want Jack to check for enemies beforehand.
4. Specifies whether the spell can be executed while the character is moving.
5. Specifies whether Jack should perform the spell until all attackers are dead.
6. ~~Specifies whether Jack should execute the spell as Ground AOE.~~

{% hint style="info" %}
If a radius is specified and the option "Do not check" is disabled, Jack will cancel the event if there is no opponent within the radius.
{% endhint %}

{% hint style="info" %}
~~Ground AOE Spells require the mouse for a short time.~~
{% endhint %}

***

## Cast Spell on a specified Target

{% hint style="info" %}
Enable this option as an addition to execute the spell on a specified target.
{% endhint %}

<div align="left"><figure><img src="/files/tBWJizZJboP2xFDUBZuW" alt=""><figcaption></figcaption></figure></div>

* Add an NPC or enter the name or ID into the text field.
* Select whether Jack should take the closest or farthest target.

{% hint style="info" %}
[Click here to learn more about how to add an NPC, object or item.](/event-manager/create-an-event.md#selection)
{% endhint %}


---

# 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://tutorials.wow-jack.com/event-manager/events/cast-spell.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.
