Trigger box only player character

Hi, i have two blueprint characters one controlled by the player and the other is the “enemy” how can i make a trigger box accessible only by the character controlled by the player?
sorry for bad english

OnBeginOverlap get overlapped object and make it cast to player pawn class. If cast successfull - proceed, if failed - do nothing.

when actor begin overlap, spawn a widget (without “cast to …”) using “cast to” does not appear anything what I am wrong?


Overlapped Actor will be this actor. You need to cast OtherActor.

thank you!