# Step 1: Attach the Camera to the Peg

The first step in this lesson is to create a camera move using a peg.

The idea of the Toon Boom Studio digital peg system was inspired by traditional 2D cel animation. In traditional animation, cycles of animation are typically drawn in-place. To make characters move through the cycle, animators would use peg bars, which would ensure that the drawings changed position gradually and precisely.

In Toon Boom Studio, you use pegs to create all sorts of changes over time. In addition to motion, you can also create scaling and rotation effects using pegs.

Toon Boom Studio also features “cameras”, which are like traditional cameras that “film” the action in a scene. In Toon Boom Studio, you can combine these two features - cameras and pegs - to create camera moves like trucks and pans.

For this step, we’ve already created the motion path that the camera will follow. All you have to do is attach the camera to the peg.

To attach the camera to the peg:

1. In the Timeline window, drag and drop the Camera element on top of the Peg-camera element.

The Camera element appears indented below the Peg-camera element to indicate that it is attached.

2. Select Play > Play to play back the scene. Watch the camera as it follows the motion path of the peg.