Hi community!
I am pretty sure this is again about my lack of knowledge in coding JS but I would be highly thankful if someone could help.
Basically everthing works despite the labels of the dropdown menus only show their matrix index instead of their chosen values.
The props field of the matris looks like this:
JS{
var props = {}
props.values = {
"Normal": "normal",
"Screen": "screen",
"Subtract": "subtract",
"Multiply": "multiply",
"Soft Light": "softLight",
"Hard Light": "hardLight",
"Soft Subtract": "softSubtract",
"Lighten Only": "lighten"
}
props.default = "normal"
props.onValue = `
var id = getIndex('this')
console.log(get('blendingDD_Layers/'+id))
console.log(get('blendingDD_Layers'))
send(get('oscTarget'), '/vimix/current/blendingMode', value)
`
return props
}
Does anyone have experience with matrix dropdowns and would help me out?
Thanks in advance!