What is going wrong in my my outline toggle?

So I made a line trace to an object I want to interact with in first person (per tick). The specific actor should then gain an outline if being hit by the line, and lose it when the line stops hitting it, but what happens is the outline will stay constantly, so I know its not a problem with the interface

I think there may be box i need to check some where, or more likely, something related to ticks not being permanent and requiring some blueprint part that switches it in a way that dose’nt reset


Hey @RTYZ853!

So what you need to do is on the “TRUE” branch, save “HitActor” as a variable.

Then on “FALSE”, get that variable and use it as the target of your interface call.
Because what’s happening is the line trace’s FALSE line has something OTHER than the outlined character as the hit, so its target is not an actor. And if you had multiple actors to outline, each one would get the outline and they’d never turn off. :slight_smile:

Worked Perfectly!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.