blockly > Block > getVars

Block.getVars() method

Return all variables referenced by this block.

Signature:

getVars(): string[];

Returns:

string[]

List of variable ids.