FindComponentByClass<>() from PlayerController

Hi, trying “refactoring” here. Some questions.

Which components can “see” FindComponentByClass? Only Actor attached?

If possesed Pawn and PlayerComponent are differents Actors how I can get a component from the pawn I posses using FindComponenyByClass? How I get my possesed Pawn?

Thank you.

If you’re asking for what I think you’re asking then you would do

GetPawn()->FindComponentByClass<T>()