Stay organized with collections
Save and categorize content based on your preferences.
blockly > ISelectable > select
ISelectable.select() method
Select this. Highlight it visually.
Signature:
select(): void;
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.
[[["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\u003eselect()\u003c/code\u003e method is part of the \u003ccode\u003eISelectable\u003c/code\u003e interface in Blockly and is used to visually highlight a selectable element.\u003c/p\u003e\n"],["\u003cp\u003eThis method has no parameters and does not return any value, simply applying a visual selection to the element it's called on.\u003c/p\u003e\n"],["\u003cp\u003eBy invoking \u003ccode\u003eselect()\u003c/code\u003e on an object implementing \u003ccode\u003eISelectable\u003c/code\u003e, developers trigger the visual highlighting, signaling its selection status to the user.\u003c/p\u003e\n"]]],["The `ISelectable.select()` method is designed to visually highlight an object. Its core function is to select the current object, changing its appearance to indicate that it is currently selected. This method takes no parameters and does not return any value (void). The primary action is to visually select and highlight the object when the method is invoked.\n"],null,["[blockly](./blockly.md) \\\u003e [ISelectable](./blockly.iselectable_interface.md) \\\u003e [select](./blockly.iselectable_interface.select_1_methodsignature.md)\n\nISelectable.select() method\n---------------------------\n\nSelect this. Highlight it visually.\n\n**Signature:** \n\n select(): void;\n\n**Returns:**\n\nvoid"]]