Repossess AI character

Hallo everyone

I’ve got the following setup:

The character is AI-controlled when the game starts.
I want him to be controlled by the player as soon as they collide, that part works fine.
But when he collides again with the original player character I want him to become AI-controlled again.

Thanks in advance

Same problem just different way around. Anyone have any idea?

Before possessing the new pawn, drag out a “Get Controller” node and save it as a variable, possess the new pawn using player controller as target and possess old pawn using the saved variable as target.