How do I make a crosshair appear?

So I have a blueprint which draws a crosshair in the center of the screen however that crosshair is always on the screen. What I’m trying to do is make it so that the crosshair appears when the player overlaps with a trigger and then disappears when the player ends the overlap. Basically the crosshair would be visible as long as the player is overlapping with the trigger. How would I do that? For my crosshair right now, I’m using the Event Receive Draw Hud and it’s being drawn in the center of the screen.

Simply add a boolean to some convenient place both HUD and your trigger blueprint have access to. Set to true on overlap and only draw crosshair then.

Well I have added a boolean to the crosshair blueprint but I can’t seem to find a way to change that boolean with a trigger.

Use the SET node to set a variable… OnBeginOverlap node should lead to Set node.

Hi!

In HUD blueprint you can add variable, and set needed level of transparency.

Place trigger volume in scene.

Add in the Level Blueprint events for change visibility of cursor.

Or add in character blueprint mouse event for control visibility.

Alright that worked.