Toggle Visibilty - Fixed, my silly mistake

Hello,

Apologies for the question that is very basic, and probably been asked hundreds of times (I tried searching for it, but couldn’t find anything - most likely because I’m not using the correct terms)

I am following a tutorial on Digital-Tutors for creating basic blueprints.
The blueprint is to have a light that is off, that then turns on after the events begins after a delay.

The tutorial says that as long as the light is selected, i should see ‘toggle visibility’ - but I do not see it. I can see it if I turn ‘context sensitive’ off - but then the light isn’t automatically assigned to this target. The tutorial says that as long as you have the object selected, it will show up under ‘Toggle visibility’ with context sensitive turned off, and once this blueprint is added, the light target will already be assigned.

I can obviously assign the target afterwards, but it is much quicker if it’s already assigned when I have the light object selected like the tutorial shows…

Any ideas?

Thanks

Likely what was meant is you need to drag from the light node, and then you can choose Toggle Visibility, and it’ll assign it.

Let me know if that worked :slight_smile:

Thanks for the response. In the video the guy clicks on the light in the ‘editor view’ and then in the level blueprint he adds the event begin play, then right clicks types in '‘Toggle visibility’ - clicks on it, it then adds it to the blueprint with the ‘pointlight’ already assigned to it.

Hey Dan,

The engine is always changing, so sometimes what you’re looking for has been moved into a completely different area, or is nested under another. I sometimes get confused myself. :slight_smile: Anyway, I’ve gathered some documentation for you regarding toggling visibility:

  • [Blueprint Toggle Visibility Tutorial][1]
  • [Blueprint Light Switch Tutorial][2]
  • [Trigger Events and Toggle Visibility][3]

Hopefully the documentation provided will help connect some of the gaps between the tutorial you’re currently working with.

Good luck! :slight_smile:

A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums
[2]: A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums
[3]: Animating Characters and Objects in Unreal Engine | Unreal Engine 5.1 Documentation

So he didn’t even have a light node in his level BP when he added the toggle visibility node?

I’ve never seen that done in a level blueprint… If it were done on a typical BP you would just type “Toggle Visibilty” and choose the component.

It was a brand new level blueprint, he added the light in the editor, clicked on the light - went into the blue print, added the event begin play, then added the toggle visibility (with the context menu ticked) and added it, and the light was already assigned to it.

He then showed the toggle visibility not showing with the context menu ticked when he wasnt selecting the light in the editor view.

The video is, http://www.digitaltutors.com/tutorial/1688-Introduction-to-Blueprint-in-Unreal-Engine#play-42708 - but I believe you need an account with them to see

I have just now run into the same exact issue with that tutorial. Only Call Function option I have for the point light under rendering is “Set Actor Hidden Game”. Toggle visibility appears nowhere in the list.

I restarted the program and was able to see it - so not sure what happened.