Toggle Image between visible and hidden

Forgive the amateurish question. However, I’m trying to have an image be set to visible/hidden on a button clicked event. However, I don’t seem to be able to get it to work.

The image for argument sake is called “exampleimage” and the button is called “ExampleButton”. What do I need to do to get the exampleimage to be hidden or made visible on examplebutton being clicked?

Thanks in advance.

Isn’t it always the way? As soon as you ask a question and leave something for a short period of time you figure out the answer yourself! Anyways in the hopes this may help someone else (or someone can come up with a more elegant solution) what I came up with is below