How to check actor equality in Blueprint?

you need to make sure you get the right actor. see the following image:

Hi, in Blueprint there are many Equal functions (for vectors, ints, etc.), but how can we check if two actors are the same? I need to check if the “Other Actor” of an overlap event is the character or not, to call a function or not.

#Object Equality

You want to use the UObject level Equality node

look up object

and you should see the

#==

:slight_smile:

Rama

It works great, thank you.

EDIT: Yes, I did it exactly like that, thank you too.

Is there a way we can access the “None” keyword? I’m using a mouse based system and I’m currently interested if someone mouses into where nothing is.

Edit: well, figured it out lol. If anyone is wondering, if you leave one of the actor equality fields empty in blueprint it substitutes “None” in :).

That’s it, just leave the fild blank (it will say “None”) or use the Clear button to change something back to “None”.