# Parenting
Parenting creates hierarchical relationships between layers, allowing child layers to inherit transform properties from parent layers. Essential for coordinated motion and complex character animation.

## What is parenting?

Parenting links a child layer to a parent layer so the child inherits the parent's transform properties.

**Transform inheritance:**

<List type="bullet">
  <ListItem>Child moves when parent moves</ListItem>
  <ListItem>Child rotates around parent's anchor point</ListItem>
  <ListItem>Child scales with parent's scale</ListItem>
  <ListItem>Child's transforms are relative to parent</ListItem>
</List>

## Setting up parenting

<Image src="https://assets.docs.lottiefiles.com/static/aa1b04e22a-640.webp" alt="Set Parent" zoom variant="default" srcSet="https://assets.docs.lottiefiles.com/static/aa1b04e22a-640.webp 640w, https://assets.docs.lottiefiles.com/static/aa1b04e22a-1024.webp 1024w, https://assets.docs.lottiefiles.com/static/aa1b04e22a-1920.webp 1920w" width="3200" height="1800" loading="lazy" data-blur="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAACXBIWXMAACxLAAAsSwGlPZapAAAAl0lEQVR4nB3IXQ+BUACA4fMbuEg+EnVSKiE2HxdGC+P0YdaI//8rXLzG1bM94nh7kxY1afkizWuS/MlePUiyBwdVfYQfrxk4Hobt0tA66H0Ld+RiuwGm9BDhcovlTTAdj/Si/kazmGNWkagKESw2yPEUexxyLe84QUQwjdmfS3anAuHPV7QMk7Zp0dS7aMaAoRzRG8rffb5ILEATD76kEQAAAABJRU5ErkJggg==" />

**Using parent dropdown:**

1. Select child layer
2. Find parent icon/dropdown in layer row
3. Click to open parent selection dropdown
4. Choose parent layer from list
5. Child is now parented to selected layer

<Image src="https://assets.docs.lottiefiles.com/static/a4f0874780-640.webp" alt="Set Parent2" zoom variant="default" srcSet="https://assets.docs.lottiefiles.com/static/a4f0874780-640.webp 640w, https://assets.docs.lottiefiles.com/static/a4f0874780-1024.webp 1024w, https://assets.docs.lottiefiles.com/static/a4f0874780-1920.webp 1920w" width="3200" height="1800" loading="lazy" data-blur="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAACXBIWXMAACxLAAAsSwGlPZapAAAAkElEQVR4nCXKywqCQABAUT/DIrXxNekog6apVPggzBSE6v+/xMVt0Vkfo53e3MeV27hS9S+aYabuZ5ph4dJNm5EUDW4Y4wQSx5dYnkQpRZKVRLrASMorfqSRaUakz4hTgs5LHsuXfv5gqLxGhAo/TtkfPUxbEKWapntSteM/mJaD5YXsbIFpCUQQchA+O8fdfp1kPkrkCQkkAAAAAElFTkSuQmCC" />

**Layers that cannot be parents:**

<List type="bullet">
  <ListItem>Track matte layers (hidden matte layers)</ListItem>
  <ListItem>Layers that would create circular dependency</ListItem>
</List>

## Transform inheritance

**Position:** Child position is relative to parent position. Final position = Parent position + Child position.

**Scale and Skew:** Child scale and skew are multiplicative with parents'.

**Anchor point:** Child rotates around parent's anchor point. Critical for proper hierarchical motion.

## Unparenting layers

**Removing parent:**

1. Select child layer
2. Open parent dropdown
3. Select "(No parent)" option
4. Layer becomes independent

**Effect:**

<List type="bullet">
  <ListItem>Child no longer inherits parent transforms</ListItem>
  <ListItem>Child maintains current world position</ListItem>
  <ListItem>Local transforms become absolute</ListItem>
</List>

## Multi-level hierarchies

Create complex hierarchies with nested parenting.

**Example hierarchy:**

```
Body (root)
└── Arm
    └── Forearm
        └── Hand
            └── Fingers
```

**Transform flow:**

<List type="bullet">
  <ListItem>Rotate Body → Entire arm rotates</ListItem>
  <ListItem>Rotate Arm → Forearm, hand, fingers rotate</ListItem>
  <ListItem>Rotate Forearm → Hand and fingers rotate</ListItem>
  <ListItem>Rotate Hand → Only fingers rotate</ListItem>
</List>
