How to reset Sphere Trace Interaction with Actor

For as along as the Hit Actor reference is valid, the IA Interact will be happy to send it interface messages. And this variable remains valid until we override it with another value. Which means it will be valid pretty much all the time.

Depending on how the game works, there’s more than one solution here. Let’s start with the most straightforward:

  • run the line trace script on IA Interact instead. It does not do anything special when IA Move & Lookaround calls it. You would not even need a variable this way.

You may have other plans for the interaction later on (like having “Press E to Interact” pop up), or some other mechanics will kick in. But for now, see if you can make it behave correctly without the prompt.


Regarding the Reset, you can assign and un-assign values like so:

Leave the dropdown blank to make it null. You could nullify if when the player moves away and ends overlap, for example. This may not be necessary if you apply the solution mentioned in the bullet point.

Do tell how it goes.


If you prefer to take your time, consider exploring this:

It’s a similar setup where nearby objects pop up icons that highlight when looked at, and can then be interacted with. There is a project attached if you want to take it for a spin.