> For the complete documentation index, see [llms.txt](https://plugin-everything.gitbook.io/textbox-3/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://plugin-everything.gitbook.io/textbox-3/shape-mode.md). Agents can also search and read this documentation through its [MCP server](https://plugin-everything.gitbook.io/textbox-3/~gitbook/mcp).

# Shape Mode

Choose the shape using the icons in `Shape Mode` at the top of the effect. To keyframe the mode or control it with an expression, use `Expression Controls` > `Shape Mode Control`. [Animate modes or link them to other controls](https://plugin-everything.gitbook.io/textbox-3/expression-controls.md).

| Option         | What it does                                                         |
| -------------- | -------------------------------------------------------------------- |
| `Auto`         | Draws a rectangle with circular corner rounding. This is the default |
| `Superellipse` | Draws a rounded box with softer transitions into the straight sides  |
| `Polystar`     | Draws a star or regular polygon that you can round                   |
| `Speech`       | Adds a tail to a rounded rectangle or superellipse                   |
| `Custom`       | Fits a closed After Effects mask path to the text                    |

## `Polystar & Polygon`

Turn on `Polygon` to connect the outer points directly. Set `Sides` to choose the number of outer points, from 3 to 12. With `Polygon` off, lower `Inner Size` to pull the valleys toward the center for a deeper star.

TextBox 3 uses a square to lay out the star or polygon. Rounded points can extend beyond that square. [Set a fixed size for the fitting square](https://plugin-everything.gitbook.io/textbox-3/padding-and-size.md).

<details>

<summary>Round the tips and valleys separately</summary>

Use `Style` > `Roundness Poly` to round a polygon or round a star's tips and valleys together. With `Polygon` off, turn on `Separate Roundness` to keep `Roundness Poly` on the tips and use `Inner Roundness` on the valleys. For pixel-based rounding, set `Style` > `Roundness Advanced` > `Rounding Metric` to `Pixels`. Use `Roundness Pixels` for the tips and `Inner Roundness Pixels` for the valleys.

</details>

## `Speech`

Set `Speech Shape` to `Rounded Rectangle` or `Superellipse`, then use `Tail Position` to place the tail.

| Option             | What it does                                                                                                                                                                                                |
| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Angle & Distance` | `Tail Angle` sets direction from the center of the bubble. At 0° the tail points right, and positive angles turn clockwise. `Tail Distance` measures how far the tip extends past the bubble edge in pixels |
| `Absolute Point`   | `Tail Point` sets the tip on the layer that has TextBox 3. Place it outside the bubble to see the tail                                                                                                      |

`Tail Width` measures the base along the edge of the bubble in pixels. Set it to 0 for a bubble without a tail.

## `Custom Shape`

Draw a closed mask on the layer that has TextBox 3 and select it in `Custom Shape` > `Mask`. Set the After Effects mask mode to `None` to use the path without clipping the text. If `Mask` is empty or the path is open, the effect draws no custom shape.

TextBox 3 fits the mask inside the text bounds and centers it, preserving its proportions. To set a specific size, turn on `Padding & Size` > `Fixed Sizing` > `Fixed Size` and set `Size` for the longer dimension. Use `Transform` > `Transform Box` to offset the fitted shape. [Move the fitted shape](https://plugin-everything.gitbook.io/textbox-3/transform.md).
