ClassesBlockblockly.block.getinputOn this pageHome > blockly > Block > getInput Block.getInput() method Fetches the named input object. Signature: getInput(name: string): Input | null; Parameters ParameterTypeDescriptionnamestringThe name of the input. Returns: Input | null The input object, or null if input does not exist.