How to make an Ai take over player controller

Hello Guys, I am trying to get the hang of blueprints. I would like to know if it’s possible to make an Ai controller take over the players controller on input. For example: I have a bot using a behavior Tree patrolling the environment and at a press of a button I would like to have my character mimic his behavior but I’m not entirely sure how I can make it happen,

  • this is what I got so far.

What you need to do is to spawn a new AIController and have it posses player’s pawn.