@d-healey If you rely on a certain order of execution, you can set a priority in the metadata object for each listener. From the docs:
https://docs.hise.audio/scripting/scripting-api/broadcaster/index.html (scroll down to Metadata)
const var bc = Engine.createBroadcaster({ "id": "funky", "args": ["value"] }); bc.addListener("", { id: "first callback", priority: 2 }, function(value) { Console.print("FIRST: " + value); }); bc.addListener("", { id: "second callback", priority: 1 }, function(value) { Console.print("SECOND: " + value); }); bc.sendSyncMessage(2);This property is only valid when used with a listener item and defines the order of how the listeners are called. By default they are called by the order of the addListener call, but if that is not what you want, you can shuffle around the listeners by supplying a priority (higher priority values means that the items are moved up the list and the default value is 0 ).