mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-07-29 07:29:12 -04:00
Enable extension monitors, add flag to disable
Extension reporters now offer a monitor checkbox by default, unless the `disableMonitor` flag is set in the extension block metadata.
This commit is contained in:
parent
b41423bdfa
commit
701fb6c1c5
2 changed files with 4 additions and 0 deletions
src/extension-support
|
@ -19,6 +19,7 @@
|
|||
* @property {string} text - the text on the block, with [PLACEHOLDERS] for arguments.
|
||||
* @property {Boolean} [hideFromPalette] - true if this block should not appear in the block palette.
|
||||
* @property {Boolean} [isTerminal] - true if the block ends a stack - no blocks can be connected after it.
|
||||
* @property {Boolean} [disableMonitor] - true if this block is a reporter but should not allow a monitor.
|
||||
* @property {ReporterScope} [reporterScope] - if this block is a reporter, this is the scope/context for its value.
|
||||
* @property {Boolean} [isEdgeActivated] - sets whether a hat block is edge-activated.
|
||||
* @property {Boolean} [shouldRestartExistingThreads] - sets whether a hat/event block should restart existing threads.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue