Matrix Fader custom propriety

Hi,
I’m working on matrix / fader / array
I understand how to access to the fader propriety and how to assign a value contain in a array.
But got stuck on 2 questions :
in the sidechain fader I have set the name and @{this} in the html propriety.
But that doesn’t work in matrix.

Second questions is :
I want to use my var cc_add to add it to the var cc in the preargs. but it the result of 1 + 2 is 12 instead of 3.

best
Z

matrix_fader.json (4.9 KB)

That's because the @{} blocks are resolved at the matrix' level, not at the children's (they only get the result as property). I may add a way to circumvent this later, meanwhile what you did in the screenshot seems right.

I want to use my var cc_add to add it to the var cc in the preargs. but it the result of 1 + 2 is 12 instead of 3.

Your "cc" array contains strings, but

« Adding two numbers, will return the sum, but adding a number and a string will return a string »

JavaScript Operators (under "Adding Strings and Numbers")

1 Like

Moving thread to usage questions.

1 Like
Your “cc” array contains strings, but

-___- ok this what happen when you are experimenting ...

That’s because the @{} blocks are resolved at the matrix’ level, not at the children’s (they only get the result as property). I may add a way to circumvent this later, meanwhile what you did in the screenshot seems right.
okay I should ask before, spent 2hours to search the solution ahah

thank you for your help !