"On start of layout" works for me to, but try to change it to every tick or every 1.0 sec... or add a Mouse: On Left button Clicked - > Add 1
Indeed, in r57 and using my previous capx, replacing the start of layout event, every tick and every X sec seem to just run once. The var gets set, but don't change afterwards.
Left click was already a known issue.
Same thing happens with a keyboard event.
glob2loc_var2.capx
Variable3 was created as a local variable in the group directly.
But in the end, isn't that the supposed behavior ?
I mean, each time the group gets called/executed, the local variable is "reset". If you want an increasing counter, have a local variable out of the scope of the group (a containing condition and/or group for example) or just a global variable.