[Matrix ]custom props for one widget

Hi,
in a matrix we can access to a specified widgets using

matrix_id/1

but for example how to specified the props.steps of this knob ?

best

To read this property you would write

@{matrix_id/1.steps}

or in a script:

getProp('matrix_id/1', 'steps')

To define this property you'd use the matrix' props property

JS{

var props = {}
props.steps = 5

// maybe a different number of steps for 4th knob ? 
if ($ == 3) props.steps = 10

return props

}
1 Like