Visibility of a child in matrix... what do i forget this time?

Hi...

Trying to switch child visibility in a matrix...

i have this in the matrix props :

props.id = "Guit_"+$
props.visible = VAR{visiFAV}

and this in a button's onValue :

setVar('Guit_6','visiFAV',1)

But nothing happens when i toggle on the button...

I... don't... understand...

According to the props property documentation, VAR{visiFAV} will create a variable for the matrix itself only, if you want the syntax to apply to the child use the underscored version and pass it as a string:

props.visible = "VAR_{visiFAV}"

Ok, thank you. That make sense to me now. Je n'aurai pas rretrouvé l'astuce, même en re-re-re-relisant la doc... ouf, my day is saved ! :wink: