LineTraceByChannel Return Value

What im trying to do is use a line trace by channel to crete or remove a widget from the player screen, with the boolean of return value beign the condition. However, the return value of the line trace is always true, when hovered its pin reads “True if there was a hit, false otherwise.”, but i never get the false boolean. How to solve this?

Seems like your trace endpoint is so far away that it always hits something. Please try to shorten.

There’s quite a bit of strangeness in the setup, there’s no need for an array, consider the following:

Image from Gyazo

If you want to add the interface implementation check, you can, of course. It can be improved but that’s the gist. For example: you could compare actors to avoid sending the same call over and over again. Or have the interface return whether the target needs showing / hiding its widget.