The functions IsLocalPlayerController() and IsPlayerController() both check if the controller is a PlayerController (the “Local” variant is used for multiplayer games, don’t know if you need it). So they should return false if the pawn is controlled by an AIController. I hope I’ve got your question right and this helps.