The Brush tool , Clone Stamp tool
, and Eraser tool
are all paint tools. You use each in the Layer panel to apply paint strokes to a layer. Each paint tool applies brush marks that modify the color or transparency of an area of a layer without modifying the layer source.
Each paint stroke has its own duration bar, Stroke Options properties, and Transform properties, which you can see and modify in the Timeline panel. Each paint stroke is, by default, named for the tool that created it, with a number that indicates the order in which it was drawn.
At any time after you draw a paint stroke, you can modify and animate each of its properties using the same techniques that you use to modify the properties and duration of a layer. You can copy paint stroke path properties to and from properties for mask paths, shape layer paths, and motion paths. For even more power and flexibility, you can link these properties using expressions. (See Creating shapes and masks and Add, edit, and remove expressions.)
To specify settings for a paint stroke before you apply it, use the Paint and Brushes panels. To change and animate properties for a paint stroke after you’ve applied it, work with properties of the stroke in the Timeline panel.
Individual brush marks are distributed along each paint stroke—though the marks may appear to merge together to form a continuous stroke with the default settings. Brush settings for each brush in the Brushes panel determine the shape, spacing, and other properties of brush marks; you can also modify these Stroke Options properties for each stroke in the Timeline panel.
In After Effects, paint strokes are vector objects, which means that they can be scaled up without loss of quality. Paint strokes in some applications, such as Photoshop, are raster objects. (See About vector graphics and raster images.)
Groups of paint strokes appear in the Timeline panel as instances of the Paint effect. Each instance of the Paint effect has a Paint On Transparent option. If you select this option, the layer source image and all effects that precede this instance of the Paint effect in the effect stacking order are ignored; the paint strokes are applied on a transparent layer.
For some painting, drawing, cloning, and retouching tasks, you may want to take advantage of the sophisticated paint tools provided by Adobe Photoshop. See Working with Photoshop and After Effects.
The Roto Brush tool shares some features with the paint tools, and you can work with Roto Brush strokes in many of the same ways as paint strokes. For information about the Roto Brush tool and Roto Brush strokes, see Roto Brush strokes, spans, and base frames.
To momentarily activate the Selection tool, press and hold V.
To use the Paint panel, first select a paint tool from the Tools panel.
Opacity
For Brush and Clone strokes, the maximum amount of paint applied. For Eraser strokes, the maximum amount of paint and layer color removed.
Flow
For Brush and Clone strokes, how quickly paint is applied. For Eraser strokes, how quickly paint and layer color are removed.
Mode
How pixels in the underlying image are blended with the pixels painted on by the Brush or Clone stroke. (See Blending mode reference.)
Channels
Which channels of the layer the Brush stroke or Clone stroke affect. When you choose Alpha, the stroke only affects opacity, so swatches are grayscale. Painting the alpha channel with pure black has the same result as using the Eraser tool.
Duration
The duration of the paint stroke. Constant applies the stroke from the current frame to the end of the duration of the layer. Single Frame applies the stroke to the current frame only. Custom applies the stroke to the specified number of frames, beginning with the current frame. Write On applies the stroke from the current frame to the end of the duration of the layer and animates the End property of the stroke to match the motion with which the stroke was drawn..
When you have a paint tool active, you can press 1 or 2 (on the main keyboard) to move the current-time indicator forward or backward the number of frames specified by the Duration setting in the Paint panel.
To use the Brushes panel, first select a paint tool from the Tools panel.
Preset brushes are saved in the preferences file, so they persist between projects.
Ctrl-drag (Windows) or Command-drag (Mac OS) the brush in the Layer panel to adjust Diameter; release the key and continue to drag to adjust Hardness.
Diameter
Controls the size of the brush.
Angle
The angle by which the long axis of an elliptical brush is rotated from horizontal.
note: Brush angles can be expressed in both positive and negative values. For example, a brush with a 45º angle is equivalent to a brush with a -135º angle.
Roundness
The ratio between the short and long axes of a brush. A value of 100% indicates a circular brush, a value of 0% indicates a linear brush, and intermediate values indicate elliptical brushes.
Hardness
Controls the transition of a brush stroke from 100% opaque at the center to 100% transparent at the edges. Even with high Hardness settings, only the center is fully opaque.
Spacing
The distance between the brush marks in a stroke, measured as a percentage of the brush diameter. When this option is deselected, the speed at which you drag to create the stroke determines the spacing.
Brush Dynamics
These settings determine how the features of a pressure-sensitive digitizing tablet—such as a Wacom pen tablet—control and affect brush marks. For each brush, you can choose Pen Pressure, Pen Tilt, or Stylus Wheel for Size, Angle, Roundness, Opacity, and Flow to indicate what features of the pen tablet you would like to use to control brush marks. For example, you can vary the thickness of brush marks by setting Size to Pen Pressure and pressing more firmly when drawing some portions of the stroke. If Size is not set to Off, Minimum Size specifies the size of the thinnest brush mark.
Use the Brush tool to paint on a layer in the Layer panel with the current foreground color.
To specify settings for a paint stroke before you apply it, use the Paint and Brushes panels. To change and animate properties for a paint stroke after you’ve applied it, work with the properties of the stroke in the Timeline panel.
Do any of the following with the Brush tool active:
You can quickly activate the eyedropper for use within the Layer panel by pressing Alt (Windows) or Option (Mac OS) when the pointer is in the Layer panel.
To change or animate the color of a brush stroke after painting, use the Color property in the Stroke Options group in the Timeline panel.
Each time you release the mouse button, you stop drawing a stroke. When you drag again, you create a new stroke. Shift-drag to resume drawing the previous stroke.
You can paint on individual frames over a series of frames to create an animation or to obscure unwanted details in your footage.
If your output will be interlaced, double the frame rate of your composition before painting on individual frames. (See Frame rate.)
Each time you release the mouse button, you stop drawing a stroke. When you drag again, you create a new stroke. Shift-drag to resume drawing the previous stroke.
To move back the Custom number of frames, press 1 on the main keyboard.
If you use a pen tablet, map the keyboard shortcuts to the buttons on your pen to work more efficiently. See the documentation for your pen tablet for instructions.
You can use the Clone Stamp tool to copy pixel values from one place and time and apply them at another place and time. For example, you can use the Clone Stamp tool to remove wires by copying from a clear patch of sky, or you can create a herd of cows from one cow in the source footage and offset the copies in time.
The Clone Stamp tool samples the pixels from a source layer and applies the sampled pixel values to a target layer; the target layer can be the same layer or a different layer in the same composition. If the source layer and target layer are the same, the Clone Stamp tool samples paint strokes and effects in the source layer, in addition to the layer source image.
As with all paint tools, you use the Clone Stamp tool in the Layer panel.
If the source layer and target layer are different layers, open each layer in a different viewer. Press Ctrl+Alt+Shift+N (Windows) or Command+Option+Shift+N (Mac OS) to split and lock the current viewer.
You can identify what result a stroke will have before you make it by using the clone source overlay, a semi-transparent image of the source layer.
To specify settings for a paint stroke before you apply it, use the Paint and Brushes panels. To change and animate properties for a paint stroke after you’ve applied it, work with the properties of the stroke in the Timeline panel.
Select Aligned in the Paint panel to make the position of the sample point (Clone Position) change for subsequent strokes to match the movement of the Clone Stamp tool in the target Layer panel. In other words, with the Aligned option selected, you can use multiple strokes to paint on one copy of the sampled pixels. In contrast, deselecting the Aligned option causes the sample point to stay the same between strokes, meaning that you begin painting on pixels from the original sample point each time you drag again to create a new clone stroke.
For example, select Aligned to use multiple clone strokes to copy one whole cow—which would be difficult to do in one continuous stroke—and deselect Aligned to copy one flower into dozens of places in the target layer to make a field of flowers, using one clone stroke per copy.
Select Lock Source Time to clone a single source frame (at composition time Source Time); deselect Lock Source Time to clone subsequent frames, with a time offset (Source Time Shift) between the source frame and the target frame. The clone source time automatically loops back to the starting sample point when the current sampling point goes beyond the end of the duration of the source layer. This looping is especially helpful when you have a lot of frames to repair in the target layer but only a few good frames in the source layer.
You can manually manipulate the time and coordinates
from which sampling begins by modifying the Offset, Source Time
Shift, Source Position, or Source Time values in the Paint panel.
You can reset them to zero with the Reset button.
Each time you release the mouse button, you stop drawing a stroke. When you drag again, you create a new stroke. Shift-drag to resume drawing the previous stroke.
Click the Difference Mode button next to the Clone Source Overlay option in the Paint panel or modify the opacity of the overlay to help you better line up elements and see the results of your clone strokes. To temporarily show the clone source overlay, press Alt+Shift (Windows) or Option+Shift (Mac OS). Alt+Shift-drag (Windows) or Option+Shift-drag (Mac OS) to change the position of the source layer.
Each clone stroke includes properties in the Timeline panel that are unique to the Clone Stamp tool and correspond to settings made in the Paint panel before the clone stroke is created:
Clone Source
The sampled layer.
Clone Position
The (x,y) location of the sample point within the source layer.
Clone Time
The composition time at which the source layer is sampled. This property appears only when Lock Source Time is selected.
Clone Time Shift
The time offset between the sampled frame and the target frame. This property appears only when Lock Source Time is not selected.
After clone strokes have been created, their properties in the Timeline panel can be modified and animated. For example, you can clone a bird flying across the screen by cloning it in one frame, tracking the motion of the bird, and then linking the Clone Position property to the Attach Point property of tracker with an expression.
You can set a blending mode for clone strokes, just as for other paint strokes. For example, consider using the Darken blending mode to remove light-colored scratches, and using the Lighten blending mode to remove dark-colored blemishes and dust.
Use clone presets to save and reuse clone source settings: Source Layer, Aligned, Lock Source Time, Source Time Shift, Offset, and Source Position values. Clone presets are saved in the preferences file, so they can be reused in other projects. To work with clone presets, first select the Clone Stamp tool.
If you use the Eraser tool in Layer Source & Paint or Paint Only mode, it creates Eraser strokes that can be modified and animated. In contrast, using the Eraser tool in Last Stroke Only mode only affects the last paint stroke drawn and does not create an Eraser stroke.
To temporarily use the Eraser tool in Last Stroke Only mode, Ctrl+Shift-drag (Windows) or Command+Shift-drag (Mac OS).
Each time you release the mouse button, you stop drawing a stroke. When you drag again, you create a new stroke. Shift-drag to resume drawing the previous stroke.
If you use a pen tablet, pressing the eraser side of the pen to the tablet temporarily activates the Eraser tool.
You animate a paint stroke by setting keyframes or expressions for its properties. After Effects animates paint stroke properties—even the Path property of a paint stroke—by interpolating values for all frames between keyframes.
By modifying and animating the Start and End properties of a paint stroke, you can control how much of a stroke is shown at any time. For example, by automatically animating the End property from 0% to 100% with the Write On setting, you can make a paint stroke appear to be drawn on over time.
As with all properties, you can link paint stroke properties to other properties using expressions. For example, you can make a paint stroke follow a moving element in your footage by tracking the moving element and then linking the Position property of the paint stroke to the Attach Point property of the tracker.
Rotoscoping is a special case of painting or drawing on individual frames in which some item in the frame is being traced. Often, rotoscoping refers to drawing animated masks rather than paint strokes. (See Rotoscoping introduction and resources.)
Scott Squires provides a pair of movies on his Effects Corner website that show how to rotoscope, both painting and masking:
If you choose Write On from the Duration menu in the Paint panel, the End property is automatically animated to match the motion that you used to draw the stroke.
After Effects also includes a Write-on effect. (See Write-on effect.)
As you paint, your movements are recorded in real time and determine the rate at which the resulting stroke is drawn to the screen for output. Recording begins when you click within the layer in Layer panel. When you release the mouse button, the current time returns to the time at which you started painting; this behavior is so that you can record more paint strokes for animated playback starting from the same time.
You can animate the Trim Paths operation on a shape path to accomplish a similar result as animating a paint stroke with Write On. (See Alter shapes with path operations.)
To momentarily activate the Selection tool, press and hold V.
By creating a stroke while a stroke is selected, you replace the selected stroke, which is sometimes referred to as stroke targeting.
If you are not satisfied with the way that the path is interpolated, consider creating your path as a mask, using Smart Mask Interpolation to fine-tune the interpolation, and then copying the Mask Path property keyframes to the paint stroke Path property. (See Animate a mask path with Smart Mask Interpolation.)
Sign in to your account