I figured that out, thanks though! also is there anyway to make my character not run towards the enemy? i'm wanting to make a script to fight some harder monsters but the charachter seems to focus on using retreat arrow and runs to the target instead of only using it when they get close