Custom Blocks
Custom blocks are called procedures.
Arguments
Use arguments by prefixing `$` to the argument name.
Calling custom blocks
Scratch Addons & Turbowarp Blocks
goboscript supports the Scratch Addons' debugger addon blocks, and TurboWarp blocks.
`breakpoint`
The Scratch Addons' debugger addon block to set a breakpoint.
`log`
The Scratch Addons' debugger addon block to log a value.
`warn`
The Scratch Addons' debugger addon block to log a warning.
`error`
The Scratch Addons' debugger addon block to log an error.
`is compiled?` boolean reporter
The TurboWarp block to report whether the project is running in compiled mode.
`is TurboWarp?` boolean reporter
The TurboWarp block to report whether the project is running in TurboWarp.
`is forkphorus?` boolean reporter
The TurboWarp block to report whether the project is running in forkphorus.