blockly >屏蔽 >getInputWithBlock

Block.getInputWithBlock() 方法

返回连接到指定块的输入。

Signature:

getInputWithBlock(block: Block): Input | null;

参数

参数 类型 说明
阻挡 屏蔽 连接到此块中的输入的块。

返回

输入 |null

连接到指定块的输入(如果有)。