Using matrix button to toggle visibility

Hi,
I was looking way to use one of a button of a matrix to set the visibility of a panel

@{matrixbutton_1}

I’m pretty sure I need $ somewhere but I didn’t find any help about this
Best

Note: by default, the widgets inherit from the matrix' id and osc properties ( id and address are appended with /$ )

(from Properties reference - Open Stage Control)

If you didn't set the id manually in the matrix' props property, you can retrieve the button's value with @{matrix_id/$} where $ is the button's index.

I’m pretty sure I need $ somewhere but I didn’t find any help about this

This variable only exists in JS{{}} and #{} blocks inside the props property.

1 Like