How to turn on visibility when you press a key?

Sorry I don’t understand. As soon as I link the jigsaw piece reference to the toggle visibility it automatically creates the default scene root so I don’t quite understand.