I think this is impossible but I thought I might as well ask to try and save some time in the future but is it possible to pass/receive variables between (GUI) scripts?
Absolutely it’s possible.
GUI scripts can send and receive messages like regular scripts. Check out the manual here:
You could also get/set values in Lua modules, however that is more advanced and probably less suitable than messages. In any case, module manual:
4 Likes
I’ll give it a try, thanks!