> For the complete documentation index, see [llms.txt](https://soulslike-framework.isik.vip/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://soulslike-framework.isik.vip/animation-notifies/miscellaneous/ai-rotate-towards-target-notify.md).

# AI Rotate Towards Target Notify

ANS\_AI\_RotateTowardsTarget

This is a notify which will only work on animations that are being used by a **Soulslike Enemy** (B\_Soulslike\_Enemy) class or a class that implements the **BPI\_Enemy** interface.

It is used to **control the rotation of the AI character mid-animation (root motion supported)** through a *generic rinterp/timeline based logic*. The length of the notify dictates the speed of the rotation.

{% hint style="success" %}
This is an example **optional** notify. If you are planning on using [**Motion Warping**](/extending-functionality/using-motion-warping.md) you can ignore this notify and just utilize that **MotionWarping** notify instead.
{% endhint %}

<figure><img src="https://3303637552-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOAGs3il6rJbkejwPOlEP%2Fuploads%2FBibx5dgou7J5bjhwxNYU%2Fimage.png?alt=media&amp;token=25c4646d-79d0-4b2f-b291-022c4a29ece3" alt=""><figcaption></figcaption></figure>
