Beginner working with BPI, how do I get a value like `other actor` (BP_FirstPersonCharacter0)?

I am a beginner and a bit confused at how get values.


I am trying to make the top Nodes work the same as bottom nodes.

So with overlapping trigger, the otherActor returns BP_FirstPersonCharacter0, which is the actor that hit the collision box.
I want to do the same thing but with an interact key, but Event BPI input BP FirstPersonCharacter object ref is giving me None.
How do I get the value of the player, or the actor interacted with the collision box?
thanks

do a line trace, whatever you hit call your interact event, if it impliments it it will call the function

In the actual interface just add a variable for firstperson character

When you call the event from the line trace that variable will now show up and you just pass the self variable

5 min after I made the thread and when mod was approving, I did a dumb workaround:
create varon overlapset var to other actor
then on interactvar cast to BP_Character

Good to learn about line trace :+1:

Better to use a line trace where you can, as cast to keeps the blueprint loaded, for something like a character not to bad, its almost always relevant anyways…

Dont forget to mark as answer and welcome to the fourms