Hard, rigid lines quickly look lifeless in an animation. This is exactly where the Puppet Tool comes in, allowing you to bring organic movement into static shapes. However, a problem always appears when the object is already animated and you also want to deform it with pins. The results quickly become messy: edges tear, parts separate, and the motif becomes distorted. In this tutorial, I'll show you how to work around this problem and significantly extend the limits of the tool. All time references in the screenshot variables refer to seconds in the original tutorial.
Key Takeaways
- The Puppet Tool creates a mesh of polygons on the first click. This mesh determines how the layer deforms.
- Animated content within the shape can only be deformed cleanly if the mesh completely covers the moving content.
- A color solid that fills the entire composition serves as a carrier for the mesh. It is the most important trick in this tutorial.
- With more triangles in the mesh, the resolution of the deformation increases. The number can also be adjusted afterwards.
- You can then hide the layer with the mesh. The mesh remains in place and continues to deform the animation.
Starting Point: Analyzing the Animated Ornament
First, take a close look at what you want to deform. In this example, the motif consists of three branches that build up gradually. At the end of the layer, the Trim Paths properties are animated with keyframes: a linear keyframe controls the start, and an Easy Ease keyframe gently slows down the end, so the last strokes take a little longer.
The result looks technically correct but stiff, because the ornament looks as if it were painted on. This is exactly the impression that the Puppet Tool is meant to eliminate.

Step 1: Move the Ornament into a Precomposition
Put the layer with the ornament into a precomposition. Give it a clear name, such as "Ornament". This step is important because the Puppet Tool is applied to the layer that you see in the parent composition. The animation remains fully preserved in the precomposition, and you can compare the result with the original animation at any time later.

Step 2: Place Pins and Recognize the Problem
Apply the Puppet Tool to the precomposition and place your pins at the desired locations. Then play the animation. You will notice that the branches do move, but strange distortions appear at the edges. Parts of the motif separate, and unsightly borders form on the sides.
These errors occur because the Puppet Tool does not calculate the deformation for moving content, but on the basis of the mesh that is created when the pins are placed. If the motif changes afterwards, the mesh no longer matches the shape.

Step 3: Test Additional Movement and Recognize the Limits
You often want to bring the result to life even more, for example through rotation or a wiggle effect. However, a wiggle with a frequency of 0.5 seconds and a strength of 10 degrees is too strong for this motif, and the result gets significantly worse. A lower intensity works better.
For a long time, the rule was that you can only animate static content with the Puppet Tool. However, this limitation is not mandatory. What matters is how the mesh is created.

Step 4: Understanding the Mesh
As soon as you apply the Puppet Tool for the first time, After Effects places a mesh over the entire layer. This mesh divides the image into polygon areas. These polygons are the key to deformation, because they determine how the pixels shift when the pins are moved.
You can make the mesh visible via the "Show Mesh" option. There you can also see that the mesh is aligned exactly to the shape that you outlined with the first click. If the content moves outside this shape, it no longer lies on any polygon, and this is exactly where the artifacts come from.

Step 5: Apply the Trick with the Solid
Now comes the crucial step. Create a new solid within the composition that fills the entire area. You can reduce its opacity or simply place it behind the object so that it doesn't get in the way. The solid is merely a carrier for the mesh.
Now apply the Puppet Tool to the solid and set your pins. It is important that you have not yet set a pin on the actual footage. This way, the mesh spreads over the entire area and not just over the subject.

Step 6: Link the Mesh to the Footage
As soon as you set the pins on the solid, the effect becomes apparent: The mesh is applied to the footage, and the subject moves along with it. That is exactly where the trick lies. The mesh is not tied to the subject, but encompasses the entire image area.

Step 7: Increase the Number of Triangles
A coarse mesh leads to imprecise deformation. Open the mesh settings and increase the number of triangles. A value of about 1400 provides a sufficiently high resolution in this example. This setting can also be changed afterwards, so you can adjust it at any time if needed.

Step 8: Add Pins and Hide the Layer
Now set additional pins where you want to control the shape more precisely. The mesh remains stable even when you add multiple points. Afterwards, you can hide the solid. The mesh is retained, because it is only created once. The ornament continues to move correctly, and you no longer get any artifacts.

Step 9: Extend the Limits of the Tool
The method doesn't only work with large areas. Imagine a composition that is only 50 pixels high, in which a solid 100 pixels wide runs from left to right. If you want to deform this layer in an arc, a mesh placed only on the narrow area is not sufficient. The rest of the image then behaves unexpectedly.
The solution is to first create a new solid that covers the entire composition area. You set the pins on this area. Then you hide the layer behind it, and the deformation runs cleanly.

Step 10: Lay the Mesh over the Entire Area
Set the pins on the large solid so that they represent the desired movement. For example, set points at the top and bottom to create a bend. Make sure that the mesh covers the entire image area. If you succeed, you can animate within this mesh without any problems.

Step 11: Check the Result
Hide the layer behind the mesh and play the animation. The deformation now runs cleanly, even when the content moves. The most important principle is: While you create the mesh, there must be content everywhere in the image. After that, you can work freely within the mesh.

Summary ??? Puppet Tool in After Effects: Deforming Animated Objects with Pins
The Puppet Tool can also be used with already animated objects if you prepare the mesh correctly. The key lies in a solid that covers the entire composition. You create the mesh on it, increase the triangle count, and then hide the layer. This way the mesh remains stable, and you can continue to deform the animation without artifacts. With this method, you overcome the limits of the tool and achieve lively results, even with small or narrow compositions.
FAQ
Question: Why do artifacts often occur with animated layers when using the Puppet Tool?Answer: The mesh is placed on the shape at the first click. If the content moves outside this shape, it no longer lies on any polygon, and the deformation becomes faulty.
Question: Why should the solid cover the entire composition?Answer: Only when the mesh encompasses the entire image area does the deformation remain stable, even when the content moves.
Question: Can I change the number of triangles afterwards?Answer: Yes, the number of triangles can be adjusted at any time in the mesh settings.
Question: Does the solid have to remain visible?Answer: No, you can hide it after setting the pins, since the mesh is retained.
Question: Why does a wiggle with high amplitude often not work well?Answer: Strong movements shift the content far from the original mesh position, causing edges to be distorted. A lower intensity usually delivers cleaner results.
