[[["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 2025-05-16 UTC."],[[["\u003cp\u003eThe \u003ccode\u003egetVariablesOfType\u003c/code\u003e method finds variables within a Blockly workspace based on their specified type.\u003c/p\u003e\n"],["\u003cp\u003eIf the provided type is null, it returns variables with an empty string type.\u003c/p\u003e\n"],["\u003cp\u003eThe method returns an array of \u003ccode\u003eVariableModel\u003c/code\u003e objects representing the found variables, or an empty array if none match the given type.\u003c/p\u003e\n"]]],[],null,["[blockly](./blockly.md) \\\u003e [Workspace](./blockly.workspace_class.md) \\\u003e [getVariablesOfType](./blockly.workspace_class.getvariablesoftype_1_method.md)\n\nWorkspace.getVariablesOfType() method\n-------------------------------------\n\n\u003e | **Warning:** This API is now obsolete.\n\u003e\n\u003e v12: use Blockly.Workspace.getVariableMap().getVariablesOfType.\n\nFind the variable with the specified type. If type is null, return list of variables with empty string type.\n\n**Signature:** \n\n getVariablesOfType(type: string | null): IVariableModel\u003cIVariableState\u003e[];\n\nParameters\n----------\n\n| Parameter | Type | Description |\n|-----------|----------------|--------------------------------|\n| type | string \\| null | Type of the variables to find. |\n\n**Returns:**\n\n[IVariableModel](./blockly.ivariablemodel_interface.md)\\\u003c[IVariableState](./blockly.ivariablestate_interface.md)\\\u003e\\[\\]\n\nThe sought after variables of the passed in type. An empty array if none are found."]]