Hello, Welcome to the Forums.
Just to clear up a bit of vocabulary - I’d consider the LineTrace system different than the Collision system.
(It would be a Collision problem if you were using box collision on door to detect when to show/hide the Interact UI)
So it sounds like it’s showing the interact prompt when the line trace hits the door, but it’s not hiding the prompt when you look away.
What does the code look like to hide the prompt when your line tracing is no longer hitting the door?
Hi! Yes! it works perfectly fine. But the only problem is, the area of it is to widght and to high, i can’t upload more pictures since new users have limitations
Hello,
Thank you for sharing last screenshot. You are missing a single node, hence your Line Trace doesn’t work as it should. Add the extra node and you should be good to go.
Also if you find the time, have a look at https://dev.epicgames.com/documentation/en-us/unreal-engine/using-a-single-line-trace-raycast-by-channel-in-unreal-engine
This looks okay to me, what seems to be the problem?
You’re trying to interact with the door, if so can you show how you do it please?
from the line trace, you can break the out hit pin and plug the hit component into a print string to see exactly what it is hitting, it sounds like you either have an extra component (which could be an in world widget) or the door has a larger collision for visibility. in the viewport, you can change the view mode to visibility collision to see it
Thats a great idea! i will try it and come back with results








