How to show/hide a button on event

Hello

Could you tell me please how to show/hide a button when we click (toggle) on another button

Thanks

From this page: https://openstagecontrol.ammd.net/docs/widgets/advanced-syntaxes/

osc

2 Likes

Works fine.Thank you.
Do you know how to do the same thing but from a switch. How to show/hide a button according to a switch value. Can we set programmatically the visible property of a button from another widget ?

Answer to myself:

Is there a better way ?

another syntaxe to test multiple switch values for displaying button widget only if the switch_1 value = ‘myValue1’ or ‘myValue2’