Skip to main content

blockly > WorkspaceSvg > getTopBoundedElements

WorkspaceSvg.getTopBoundedElements() method

Finds the top-level bounded elements and returns them.

Signature:

getTopBoundedElements(ordered?: boolean): IBoundedElement[];

Parameters

Parameter

Type

Description

ordered

boolean

(Optional)

Returns:

IBoundedElement[]

The top-level bounded elements.