I want to automatically dismount when I perform an attack action on a target in range.