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