forked from scratchfoundation/scratch-gui
-
Notifications
You must be signed in to change notification settings - Fork 246
Script Flags
Thomas Weber edited this page Aug 29, 2020
·
10 revisions
TurboWarp lets you control how your scripts are compiled through "Script Flags". These are comments attached to the hat block of a script that start with tw.
This is what they look like:

- The comment must start with
twfollowed by a space. - Right now, the
twmust be the first line of the comment. - It must be attached to the hat block of a script, for example "when green flag clicked" or "define procedure"
Adding this comment to a script will make it use stuck checking regardless of whether the stuck checking global option is enabled or not.
Adding this comment to a script will cause it to not be compiled.