blockly > Block > getDeveloperVariables
Block.getDeveloperVariables property
An optional property for declaring developer variables. Return a list of variable names for use by generators. Developer variables are never shown to the user, but are declared as global variables in the generated code.
Signature:
getDeveloperVariables?: () => string[];
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."],[[["`colour_` is a property of the `Block` class in Blockly and represents the block's color."],["It is a protected property with the data type of string and stores color values in '#RRGGBB' format."]]],[]]