Ok, I have created a Line Trace off my FPS Camera by following this tutorial here (Single Line Trace) - https://docs.unrealengine.com/latest/INT/Gameplay/HowTo/UseRaycasts/Blueprints/index.html
This trace is working great and I’m getting a print of the objects I’m looking at. What I want to happen now is when a certain object is looked at (StaticMeshActor called “Paint_Button”), I want it to turn on the visibility of a Blueprint actor in my scene called “Paint_Colors”. But I am uncertain how to link from my LineTraceByChannel to basically say if Hit Actor = Paint_Button, set Paint_Colors visibility to true.
Basically I’m trying to get the Paint_Colors actor to turn on when the Camera looks at the button called Paint_Button. Below is a screenshot of my FPSCamera setup where the Trace is working, but the If Branch and Toggle Visibility are disconnected as I am uncertain what steps to take next. Any help is greatly appreciated!