Stay organized with collections
Save and categorize content based on your preferences.
blockly > Block > isShadow
Block.isShadow() method
Get whether this block is a shadow block or not.
Signature:
isShadow(): boolean;
Returns:
boolean
True if a shadow.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eisShadow()\u003c/code\u003e method determines if a block is a shadow block.\u003c/p\u003e\n"],["\u003cp\u003eIt returns \u003ccode\u003etrue\u003c/code\u003e if the block is a shadow block, otherwise \u003ccode\u003efalse\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis method belongs to the \u003ccode\u003eBlock\u003c/code\u003e class within the Blockly library, and is used to check the block's shadow status.\u003c/p\u003e\n"]]],["The `Block.isShadow()` method determines if a block is a shadow block. It takes no arguments and returns a boolean value. A `true` return value indicates the block is a shadow block, while `false` signifies it is not. This method's core function is to check the shadow status of a given block.\n"],null,["[blockly](./blockly.md) \\\u003e [Block](./blockly.block_class.md) \\\u003e [isShadow](./blockly.block_class.isshadow_1_method.md)\n\nBlock.isShadow() method\n-----------------------\n\nGet whether this block is a shadow block or not.\n\n**Signature:** \n\n isShadow(): boolean;\n\n**Returns:**\n\nboolean\n\nTrue if a shadow."]]