> ## Documentation Index
> Fetch the complete documentation index at: https://rive-update-scripting-docs-886.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# TransitionChild

A handle to one child (a nested artboard) of a Transition, valid only for
the duration of the `draw` (and `changed`) call it is passed to. Draw it
with `child:draw(renderer)`, wrapping the call in renderer state
(save / modulateOpacity / transform / clipPath / restore) to author the
transition effect.

## Fields

### `width`

The child artboard's natural width, useful for slide/scale math.

### `height`

The child artboard's natural height.

## Methods

### `draw`

<div class="signature">
  ```lua theme={null}
  draw(renderer: Renderer) -> ()
  ```
</div>

Draw this child's content at the renderer's current transform.
