Global Functions
This feature allows you to call an function (or "custom block") everywhere.
How to
- Click 'Functions' in category menu.
- Click 'Make a Function' button.
- customize your block by yourself, then check 'Global function'.
- Click 'Ok'.
- Define this function, You can call it everywhere.
Tips
- In principle, global functions should not be duplicated, and we cannot guarantee the consequences of this behavior.
- When calling a global function, the target(sprite) being manipulated is the caller, not the callee. If there are blocks in the global function that can only be used by a sprite or stage, and the corresponding (sprite/stage) is not correct when calling, the behavior is undefined.