Trying to send an Interface Message with a false branch

I’m trying to send an interface message whenever my widget is near an interactable object. In my case, it would be the door of a locker. I am able to send a message when my cursor hit the actor, but when I try to send another interface message (for when my cursor doesn’t hit my actor), it’s unable to do so. I think it might be due to the target but I don’t know. All i want is for my blueprint to send an interface message when my cursor is not looking at the actor in question.

Hey there @AnOrangeGuy! You guessed correctly originally! Basically there’s no hit object for you to send that interface to. Basically, without rewriting this whole thing, the simplest thing you could do would be to store the hit object in a reference, and then clear the reference whenever you don’t get a hit that handles the interface.

However, this isn’t optimal, but it is an easy way fix the script. I personally use the object hover/click functions but some games may require it this way.