Bounding Box

Create dynamic backgrounds for Text.

Input Shape - connect the Shape to sample its bounding box.

Expand - increase the size [x,y] of the bounding box.

Position - outputs the position of the Input Shape.

Size - outputs the [width, height] of the Input Shape.

Example usage:

  1. Create a Basic Shape (rectangle).

  2. Create a Text Shape and a Bounding Box.

  3. Connect textShape.id > boundingBox.inputShape.

  4. Connect boundingBox.position > basicShape.position.

  5. Connect boundingBox.size > basicShape.size.

Your text will have a rectangle behind it which will update when you make changes to your Text. Note - make sure you have the Rectangle under the Text in the Scene Window and that your Text and Rectangle are set to different colors 😉

Last updated