blockly > Field > isVisible
Field.isVisible() method
Gets whether this editable field is visible or not.
Signature:
isVisible(): boolean;
Returns:
boolean
True if visible.
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."],[[["Determines the visibility status of an editable field."],["Returns `true` if the field is visible, otherwise `false`."],["Method is associated with the `Blockly.Field` class within the Blockly framework."]]],["The `Field.isVisible()` method determines the visibility status of an editable field. It returns a boolean value, where `true` indicates the field is visible and `false` indicates it is not. This method has no input parameters. It is used to check whether a field is currently displayed to the user or hidden.\n"]]