Stay organized with collections
Save and categorize content based on your preferences.
blockly > Block > isInMutator
Block.isInMutator property
Signature:
isInMutator: boolean;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["\u003cp\u003e\u003ccode\u003eisInMutator\u003c/code\u003e is a property of the \u003ccode\u003eBlock\u003c/code\u003e class in Blockly that indicates whether the block is currently inside a mutator.\u003c/p\u003e\n"],["\u003cp\u003eThis property's value is a boolean, where \u003ccode\u003etrue\u003c/code\u003e signifies the block's presence within a mutator and \u003ccode\u003efalse\u003c/code\u003e indicates it is not.\u003c/p\u003e\n"]]],["The `Block.isInMutator` property is a boolean value associated with a Block object. This property indicates whether the block is currently within a mutator workspace. If `isInMutator` is `true`, the block resides inside a mutator; if `false`, it is not. This is useful for determining the block's operational context within the Blockly environment.\n"],null,["[blockly](./blockly.md) \\\u003e [Block](./blockly.block_class.md) \\\u003e [isInMutator](./blockly.block_class.isinmutator_property.md)\n\nBlock.isInMutator property\n--------------------------\n\n**Signature:** \n\n isInMutator: boolean;"]]