Good morning, all.
When trying to change the input channel number of a text component via scripting once a button is clicked, the data the channel reads does not appear on mimic runtime. The thing appears in mimic runtime is the channel NUMBER inside brackets like: [106].
The Button Action script:
function (args) {
console.log(“VALUE”);
const button = args.component;
const mimic = button.getMimic();
const panel = mimic.findComponent(“OT”);
if (panel) {
panel.properties.inCnlNum =106;
panel.customData.requireUpdate = true;
button.customData.requireUpdate = true;
}
Could anyone help?
-
This topic was modified 1 hour, 21 minutes ago by
Moooo.