How to pass a link to a widget?

how to pass a link to a widget?
By pressing the button, the settings menu should go out, and by repeated clicking, it should be hidden.
When pressed, a variable type error occurs.

You need to connect the Set node to the sequence.

Sorry, did not understand where to connect?

I tried it, it’s still an error

I meant the white line, not the blue one.

Nodes with white arrows need to be activated to do something. You’re not activating it.

Have you tried doing this?