- Added: global variables
- Added: code block
You can declare global variables under widget’s global section. Choose the variable name carefully, make sure it will not conflict with others. I suggest you add a prefix “g_” for the global variable name.
A new code block data field was added under data field menu. It replaces the custom code data field. You can access your global variables declared under global section, as well as local variables like:
1. x, y: the code block’s position
2. now: the current time