Displaying guard shield on right mouse input

I am trying to make it so the players shield is activated on mouse right input(which is set inside the project settings > input > gard = mouseright button.

The guard is a static mesh texture that’s been added to my character blueprint, it should only display on holding mouse right button.

I set the gardmesh default to be invisible (visible is not checked under static mesh details).

When I press the right mouse button in games it is not displaying anymore but the functionality is still there, i know this because the now invisible shield moves an object when i push right mouse.

If I check visisble, it shows up constantly. This error happened when I converted from 4.10 to 4.14. So am I using an old method that no longer works?
Blueprint structure below

At what point do you set the visibility back to true for the mesh? After adding the collision set its visibility to true or false if you are wanting to hide and unhide it.

I tried as you said but i’m still not getting anything.

Instead of using a toggle visibility test it with a set visibility and set it to True and False with the bool value.

I tried as you said but i’m still not getting anything.

How is the mesh setup in the detail panel?

Perfect, glad you got it, one way or another we were going to get to the bottom of this.

Ah thanks for the guidance BP. I accidentally clicked hidden in game after I checked the visible on the static mesh, it works now!