blockly > blockRendering > PathObject > updateInsertionMarker
blockRendering.PathObject.updateInsertionMarker() method
Add or remove styling showing that a block is an insertion marker.
Signature:
updateInsertionMarker(enable: boolean): void;
Parameters
Parameter |
Type |
Description |
enable |
boolean |
True if the block is an insertion marker, false otherwise. |
Returns:
void
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."],[[["The `updateInsertionMarker` method modifies the visual style of a block to indicate whether it's an insertion marker."],["It takes a boolean argument, `enable`, which determines if the insertion marker styling should be applied or removed."],["This method is part of the `PathObject` class within the `blockRendering` namespace in Blockly."]]],[]]