How to install Auto Pin, track a layer and adjust the result.
Installation
aescripts + aeplugins manager
The simplest way to install and license Auto Pin.
Sign in to the manager, then install Auto Pin from your account.
To add the trial, use Account > Add Trial.
Manual installation
Plugin
Copy AutoPin.aex to the Plug-ins folder.
ScriptUI panel
Copy AutoPin.jsxbin to the ScriptUI Panels folder.
Restart
Restart After Effects.
Open
Choose Window > AutoPin.
File locations (Windows)
| AutoPin.aex | Adobe After Effects <version>\Support Files\Plug-ins\ |
|---|---|
| AutoPin.jsxbin | Adobe After Effects <version>\Support Files\Scripts\ScriptUI Panels\ |
Quick start
Auto Pin reads an animated alpha mask and writes CC Power Pin keyframes to the texture layer.
No track points are necessary.
Use a clean alpha mask, select A then B, and push Track.
Prepare the track target (A)
Make an alpha mask that follows the object or surface that you want to track.
Prepare the texture (B)
Put the image or footage that you want to fit onto the tracked area.
Select A, then B
First select the alpha mask layer, then the texture.
Make sure that the panel shows the correct names.Click Track
Auto Pin applies CC Power Pin keyframes to B.
Apply the tracked mask to finish the composite.

Auto Pin uses the built-in CC Power Pin of After Effects.
No custom effect is added to the project.
Panel parameters
For most shots, the defaults (Rectangle / Motion Priority / Alpha Threshold 16 / All Frames) work well.

| 1Target Shape | Rectangle is the default. If an irregular silhouette does not track cleanly, try Organic Shape. |
|---|---|
| 2Tracking Mode | Usually use Motion Priority. For large rotation, especially more than 90 degrees, use Rotation Priority. |
| 3Alpha Threshold | The alpha value that sets the mask edge (1–255, default 16). Start with 16. Change it only when the detected edge is wrong. |
| 4Frame Range | Select All Frames, Work Area or Current Frame. Work Area is useful for a short test. |
| 5Power Pin Orientation | The initial orientation of the texture: 0°, 90°, 180° or -90°. Available when the layers are assigned. |
| 6Create Corner Nulls | Makes one null at each tracked corner. Use them to move other elements or to make your own rigs. |
| 7Swap A/B Layers | Changes the mask and texture assignments without a new selection. |
| 8Track Target (A) / Power Pin (B) | Make sure that the names are correct before you track. A is the animated alpha mask. B receives CC Power Pin. |
| 9Track | Analyzes the frame range and writes the keyframes of the four corners to layer B. |
1. Alpha mask (A) → 2. Texture (B) → 3. Track
If the names are in the wrong order, use Swap A/B Layers or select the layers again in the correct order.
Adjust the result (Post Options)
After the first tracking pass, you can adjust the result with Create Corner Nulls, Rotate Pins and Convert Pins.
It is not necessary to track again.

| Rotate Pins | Left / Right rotates the pin assignment at the current frame. Use it to correct the orientation after tracking. |
|---|---|
| Convert Pins | Changes CC Power Pin to Corner Pin or Bezier Warp. If you convert again from the same type, CC Power Pin comes back. |


Tips for reliable tracking
Clean alpha
Use one continuous mask with a clear edge.
Remove stray pixels and small holes.
Test a short range
Use Work Area while you adjust the settings.
Then analyze the full frame range.
Start with the defaults
Change Target Shape, Tracking Mode or Alpha Threshold only when the result is not correct.
Large motion is OK
Auto Pin analyzes the full frame, so it can track large jumps in position.
Troubleshooting
| Problem | Solution |
|---|---|
| An irregular edge slips | Set Target Shape to Organic Shape. |
| The rotation is more than 90 degrees | Set Tracking Mode to Rotation Priority. |
| The texture starts sideways | Before tracking, use Power Pin Orientation. After tracking, use Rotate Pins. |
| A and B are reversed | Use Swap A/B Layers. |
| The mask edge is not found | Adjust Alpha Threshold and clean the alpha mask. |
If this does not solve the problem, use the contact form.