Need Help with Initializing AIPerception and getting enemy to switch players on the fly.

Thank you, any idea on how to update an AI’s target on the fly (as in while it is moving towards it’s original target)?