blockly > BlockSvg > mutator
BlockSvg.mutator property
Block's mutator icon (if any).
Signature:
mutator: MutatorIcon | null;
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."],[[["`BlockSvg.mutator` property refers to the mutator icon associated with a specific block."],["This property's value can be either a `MutatorIcon` object if a mutator is present or `null` if there is no mutator for the block."]]],["The `BlockSvg.mutator` property represents a block's mutator icon, if one exists. This property can either hold a `MutatorIcon` object or be `null` if the block has no mutator. It is accessed as a property of a `BlockSvg` object. It essentially indicates whether a block is customizable through a mutator interface.\n"]]