How can I find IsPlayerControlled = true, in the Lyra starter game using GetLyraPlayerController?

Hello, I’m trying to use IsPlayerControlled = true, to see If the character is a player or a AI in the Lyra template, how would I got about finding this in a blueprint?

What I have so far:
Screenshot 2023-02-19 113910

hi @MasonX8881

Maybe get the player pawn then do an equal node to see if they are the same, not sure how well that would work in multiplayer though. maybe check the if they have a player controller attached to them?

Is Player Controlled | Unreal Engine Documentation

Hi there @MasonX8881. Hope you’re well!

This topic has been moved from International to Programming & Scripting: Blueprint.

When posting, please review the categories to ensure your topic is posted in the most relevant space.

Thanks and happy developing! :slight_smile: