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.

I’m unsure on how to drag the jigsaw piece into the level blueprint.

From the world outliner drag it to the level blueprint.

Ok thankyou I have done this but it still doesn’t seem to do anything when I press R.

Sorry for the late response, I recreated it in my project and found out that you shouldn’t pull the default scene root. Pull out the Toggle Visibility (pCube8) and Toggle Visibility (typeMesh1) from the Jigsaw1

In my Test Blueprint as you can see I have two static meshes representing your pCube8 and typeMesh1.

In your level blueprint, you can see in my project when you pull out toggle visibility from the Test Blueprint (representing your jigsaw) you can see the two mesh within it and that’s what you want.

This is the output you want to achieve.

No don’t say sorry hahaha I’m really glad that I could help you fix your problem. :smiley:

All the things you have done after the Press R node attach it to a Begin Play node so it would toggle the visibility when you start your game, from visible to invisible so it starts as invisible.

Yes!! Thankyou so much. And sorry for wasting your time I really appreciate all your help.

One last thing how do I get it to start off invisible as it currently is visible until you press R then it becomes invisible. I want it to be the other way round.

Ok it doesn’t look as if I can connect it anyway though.

Sorry for the editing :slight_smile:

][1]

No problem. Glad I could help. :smiley:

@Shannon Cammish could you please choose this as the correct answer so other users could see this question as already solved. Thanks

Oh yeah that has worked. Thankyou so much for your help :slight_smile:

I’ve done that now. Thanks again:)