change eslate visiblity variable by clicking static mesh

Brace yourselfs only started self learning UE4 last Week

so i have my inventory box and its visibility is bound to eslate visibility variable, i have also set it up that that when i click a red button the eslate visibility variable is changed to collapsed. but i dont know how to set it so that when the mesh is clicked on that the eslates variable is changed to visible.

i’ve tried doing this from inside the level blueprint by referencing the maingamehud blueprint but always get a accessed none error even though the variable is public, click events are enabled as well.

This is what i have that i “Think” works

and heres what i know is broken

if anyone has a solution please provide screenshots as well as names of things used as im not experienced enough to know by looking what you have used