How to show / hide specific data layers on button click event

Hi,

I have added a new navigation button on the developer UI tool bar in the collab viewer template project. This button appears in the viewport when we are in play mode. What I want to do is, on this button click, I would like to have couple of specific data layers to be turned off. Essentially, the button click should act like a toggle to show or hide the layers. How to do that through blueprint scripting? Any help with the detailed steps would be very helpful as I am still new and trying to wet my hands on unreal engine.

Thanks.