Hide / Reveal object via gamepad button

Hi guys, i have a question, if you can help :wink:

i want to have an object (cube, plane, sphere…) in my scene who is hided and once we press on a specific button on game pad or keyboard we can reveal the hided object, once we release the button, the object disappear.

Is it simple to do? Can you help me with a tuts or just a tip.

Thanks a lot :slight_smile: