How to know if a character owns an object? (overlap/checkpoint)

I want to know if a character owns a certain item.
I have been trying it using a box collision and the event “component begin overlap”.

1-OnComponentOverload

So far I have managed to differentiate the objects using the tags.
This lets me know if it’s a red cube, a blue cube, a green pawn, or a yellow pawn. (But only one at a time)

2-Tag

However I want to know for example.
If a green pawn has a blue cube… or if a yellow pawn has a red cube when it arrives at the checkpoint.

That is, I need to know the tags of the severals actors at the same time in a specific location. (Or another method that allows me to do this).

How can I do it?

Thank you so much!!


Note:
I am attaching the cubes to my pawn using “scene components”

5-SceneComponent

You can use the built in owner nodes, you can set the owner of the object and read it later, or since the object is attached you can get the attach parent.

1 Like

Hi:
it works perfect.
Thank you so much for your help!!

For some reason the accept solution button is not visible for me… I’ll try to accept your solution another time when it’s fixed. Thank you so Much!!

No worries, you’re very welcome.

1 Like