ClassesBlockblockly.block_class.getvars_1_methodOn this page blockly > Block > getVars Block.getVars() method Return all variables referenced by this block. Signature: getVars(): string[]; Returns: string[] List of variable ids.