Toggle actor / statich mesh visiblity using keyboard

Hi, I want to activate an objects visibility using Blueprints by pressing a key on the keyboard. How can I do this? I’ve only seen a couple of examples on the internet,but they don’t explain it well enough.


Make a keyboard event, get the mesh and set it’s visibility with SetVisibility.