Stay organized with collections
Save and categorize content based on your preferences.
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.
[[["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\u003eisOwnMovable()\u003c/code\u003e method, belonging to the \u003ccode\u003eWorkspaceComment\u003c/code\u003e class in Blockly's \u003ccode\u003ecomments\u003c/code\u003e namespace, determines if a comment can be moved based solely on its own properties.\u003c/p\u003e\n"],["\u003cp\u003eThis method disregards the workspace's state and returns \u003ccode\u003etrue\u003c/code\u003e if the comment is movable, otherwise \u003ccode\u003efalse\u003c/code\u003e.\u003c/p\u003e\n"]]],["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"],null,["[blockly](./blockly.md) \\\u003e [comments](./blockly.comments_namespace.md) \\\u003e [WorkspaceComment](./blockly.comments_namespace.workspacecomment_class.md) \\\u003e [isOwnMovable](./blockly.comments_namespace.workspacecomment_class.isownmovable_1_method.md)\n\ncomments.WorkspaceComment.isOwnMovable() method\n-----------------------------------------------\n\nReturns whether the comment is movable or not, only examining its own state and ignoring the state of the workspace.\n\n**Signature:** \n\n isOwnMovable(): boolean;\n\n**Returns:**\n\nboolean"]]