blockly > ブロック > getSurroundParent
Block.getSurroundParent() メソッド
Return the parent block that surrounds the current block, or null if this block has no surrounding block. 親ブロックは前のステートメントで、周囲のブロックは if ステートメントや while ループなどです。
署名:
getSurroundParent(): this | null;
戻り値:
この | null
現在のブロックを囲むブロック(存在する場合)。