ah it was probably not mention but when your not inputting a movement direction your character will lock to the nearest enemy location and projectile will change its elevation only then thanks for the feed back