Geometry

BoundingBox

An axis-aligned rectangular area, by its top-left and bottom-right corners.

Object type box pins

A BoundingBox is an area of the page, between its topLeft and bottomRight corners. Its sides are always horizontal and vertical. It isn't drawn: it describes where things are, e.g. for the bounds and lattice nodes.

Hierarchy

Parents
None
Subtypes
None

Properties

NameTypeNotes
topLeftPoint
topRightPointread-only
bottomLeftPointread-only
bottomRightPoint
centerPointread-only
widthnumberread-only
heightnumberread-only
areanumberread-only

Nodes

Break BoundingBox

Node id break/BoundingBox

Inputs

NameTypeDefaultNotes
objectBoundingBoxtype default

Outputs

NameTypeNotes
topLeftPoint
topRightPoint
bottomLeftPoint
bottomRightPoint
centerPoint
widthnumber
heightnumber
areanumber

Make BoundingBox

Node id make/BoundingBox

Inputs

NameTypeDefaultNotes
topLeftPoint{ x: 0, y: 0 }
bottomRightPoint{ x: 0, y: 0 }

Outputs

NameTypeNotes
objectBoundingBox

Set BoundingBox

Node id set/BoundingBox

Inputs

NameTypeDefaultNotes
objectBoundingBoxtype default
topLeftPoint—
bottomRightPoint—

Outputs

NameTypeNotes
objectBoundingBox

Notes

  • Read-only properties. topRight, bottomLeft, center, width, height and area follow from the two corners you set; Break BoundingBox gives them all, so a box's middle or its other corners need no extra nodes.
  • Default. Make BoundingBox gives an empty box at (0, 0).
  • From objects. AABB gives the box around an object as drawn.
  • Not lerpable. There is no Lerp BoundingBox.
© 2026 Wirepaint