How do I set visibility for image in widget?

I am currently working on a UI and when i press a key i want to set image visible or not. I currently have a spotlight in my ThirdPersonCharacter blueprint, when i press it it turns on or off but i also want to set visibility of an image on my hud widget. How do I do that?
Currently have this going on: I have a variable called Flashlight on? in ThirdPersonCharacter and this

and

Like this maybe: