GUI scripting possible?

Is it possible in HALion 6 to modify the GUI from code and to retrieve GUI events? I want to build something like the phrasebuilders found in choir libraries like voxos and requiem.

I’m new to Lua script, but I think this should be possible.

The macro designer has “stack” and “disable” elements to show, hide and disable controllers. There is an animation element which can be added as well, but I haven’t really used it so far.

GUI events (switch clicks, slider moves etc) can be passed to the script, which can then trigger functions.

But like I said I’m still new to this. There is some good information here: