How do I link umg and the level blueprint?

i did a button with umg
i want to hit the button to toggle a light in the level
how to link the umg and levelblueprint?

It this something you be reusing in other levels?

You can’t access the level blueprint from anywhere else.

One option is to find your light in the scene in the button handler. You could use GetAllActorsOfClass and then filter by name or tag or whatever to identify the light actor.