Help for my project.

Help for my project.

I will search but I did not find it. I'm starting a project and I'm basing myself on Flare. I wanted to know if anyone could help me with an "AIM Auto" would be for mages and rangers, would attack in the direction of the monster and not even with the monster on the front attack to the opposite side.