How to turn on visibility when you press a key?

Thankyou for you reply. It is a blueprint so I have just tried to do what you said but it still isn’t working. Do I need to include a collision box for it to work? Sorry I’m new to Unreal so I don’t know a lot.