blockly > comments > WorkspaceComment > isOwnMovable
Returns whether the comment is movable or not, only examining its own state and ignoring the state of the workspace.
Signature:
isOwnMovable(): boolean;
Returns:
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."],[[["The `isOwnMovable()` method, belonging to the `WorkspaceComment` class in Blockly's `comments` namespace, determines if a comment can be moved based solely on its own properties."],["This method disregards the workspace's state and returns `true` if the comment is movable, otherwise `false`."]]],["The `isOwnMovable()` method, part of the `WorkspaceComment` class, determines if a comment is movable. It directly checks the comment's internal state, disregarding the workspace's status. The method outputs a boolean value, `true` if the comment is movable, and `false` otherwise. It does not modify or change any attribute. It only examines the comment.\n"]]