How can I change the mesk to play different animations in the behavior tree

My character has two different Mesk, each with a different animation, I want to run in the behavior tree in accordance with the different circumstances to switch the different Mesk to play different animation. What shall I do?