Hard to tell what BP you’re in, but yes. You need a reference to the other actor, which means you have to find a way to get that reference and cast to its actor instance.
So if that’s your player, you should set up a member variable called “RefPlayer” that’s a type that matches your player character’s actor object reference, then GetPlayerCharacter > CastTo (that actor) > SetRefPlayer (using result of cast to set the reference)
Then you can use RefPlayer as the input for those nodes.