Anchor SNIPER User Guide v1.0
Anchor SNIPER User Guide v1.0
Anchor SNIPER User Guide v1.0
by Video Narco
Manual for version 1.0
Table of Contents
Introduction……………………………….. Page 1
Installation ………………………………… Page 1
Uninstallation…………………………….. Page 2
Basic Usage………………………………… Page 3
Tools Basic Usage………………………. Page 3
Fixed Target Buttons..………………… Page 4
Custom Target Buttons………………. Page 4
Target Options…………………………... Page 5
Tools: Null Parent………….…………… Page 6
Tools: Split Masks………….…………… Page 6
Tools: Crop Layer……………………..... Page 6
Settings……………………………………... Page 6
Additional Support……………………... Page 7
Introduction
Anchor SNIPER is an After Effects script that lets you quickly and accurately set the location
of a layer's anchor point.
Supported layer types: Bitmap, Vector, Text, Shape and Video layers (with support for 3D
switch enabled for these layer types as well).
Installation
Copy the AnchorSNIPER.jsxbin file to the After Effects ScriptUI Panel folder based on your
Operating System.
Mac:
Applications/Adobe After Effects <version>/Scripts/ScriptUI Panels
Windows:
C:\Program Files\Adobe\Adobe After Effects <version>\Support Files\Scripts\ScriptUI Panels
To run the script in After Effects, select from the top menu Window -> Anchor SNIPER
Page 2 of 7
Uninstalltion
To completely remove the script simply delete the AnchorSNIPER.jsxbin file.
Page 3 of 7
Basic Usage
1. Select the layers whose anchor Fixed Target Buttons
point you wish to relocate (in
an active composition).
2. Set the different options using
the four checkboxes (right side
of the interface). These options Help & Settings
are independent of each other
and can be mixed and matched
as desired, allowing for a total
of sixteen combinations. Options
3. Click on any of the nine Fixed
Target buttons or the Custom Custom Target Buttons
Target button to relocate the
selected layers' anchor point.
Tools Section
General Info
• Anchor SNIPER calculations are based on the current frame of the active comp's
timeline.
• If the Anchor Point parameter of a layer already has keyframes, a new keyframe will
be created at the current time. Existing animation keyframes earlier or later in the
timeline will be automatically adjusted to the new anchor point location.
Null Parent – This tool creates a new null parent layer at the selected target instead of
moving the anchor point. This feature is disabled in trial mode.
Split Masks – This tool creates a duplicate of the selected layer for each mask it has and
copies one of the masks to the new duplicate layer.
Crop Layer – This tool pre-composes a layer and automatically crops the new pre-comp to
the area of the layer's non-transparent pixels.
Page 4 of 7
Specific options
Move Layer: If this option is enabled, after clicking the OK button both the anchor point and
the layer itself will move to the new selected location. This is equivalent to manually creating
a new null layer parent for the layer, moving the Null and then deleting it.
Group Layers: This option is only relevant if the Move Layer option is turned on. When Move
layers is turned on and group layers is turned off, all selected layers are moved to the exact
same position, stacked on top of each other. If move layers is turned on and Group Layers is
turned on, the selected layers move as a single object and are centered around the chosen
new location.
IMPORTANT: Since clicking the Custom Target button creates new Timeline layers (though
temporarily) this adds an action to the After Effects history list. Dragging the temporary
target layer and clicking the OK button each add more actions to the history list as well. This
means that if you wish to undo moving the anchor point then you would need to undo three
times or more, depending on how many times you dragged the temporary target layer.
Make sure you click either the OK or Cancel buttons before taking any other action to
automatically remove the temporary layers and return the timeline and the anchor SNIPER
interface to their normal states – so you can continue working normally. This process is due
to an unfortunate limitation of AE User Interface scripting.
Page 5 of 7
Target Options
The checkboxes on the right side of the interface consist of four
options that affect the behavior of the Fixed Target buttons, the
Custom Target button and the Null Parent tool. Each option is
independent. The final target location for the anchor point is
determined using the combination of all four options.
Move Layer
When this option is turned on, instead of moving the anchor point, the layer position value is
changed (the layer moves) in accordance with the Fixed Target button pressed.
When this option is turned on and you select a Custom Target then after clicking the OK
button both the anchor point and the layer itself will move to the new selected location. This
is equivalent to manually creating a new null layer parent for the layer, moving the null, then
deleting it.
Group Layers
When this option is turned on, all selected layers are treated as a single object and the
anchor point of all layers is placed in the same location, according to their combined area.
When using a Custom Target with the Move Layer option turned on, the Group Layers option
also becomes relevant. When Move Layer is turned on and Group Layers is turned off, all
selected layers are moved to the exact same position, stacked on top of each other. If Move
Layer is turned on and Group Layers is turned on, the selected layers move as a single object
and are centered around the chosen new anchor location.
Page 6 of 7
Null Target
This tool temporarily changes the behavior of the main Anchor
SNIPER interface. Every option and button still behave in the
same way but instead of moving the layer's anchor point, a new
Null Layer is created at the desired target location and the
selected layer is automatically parented to it. Once the new null
layer is created the main Anchor SNIPER interface reverts to its
normal behavior. To revert to the normal behavior without creating a new Null parent click
the same Null Target button again – the text on the button will be “Cancel”.
Split Masks
This tool creates a duplicate of the selected layer for each mask
it has and copies only one of the masks to the new duplicated
layer. The original selected layer's video switch is then disabled.
This tool skips layers with one or zero masks. Additionally, this
tool ignores masks that are set in “None” mask mode.
Crop Layer
This tool pre-composes a layer and automatically crops the new
pre-comp to the area of the layer's non-transparent pixels at the
current frame. The pre-comping uses the "Leave all attributes"
method except for any masks on the layer. All Masks are moved
into the pre-comped layer before cropping.
Settings
Anchor SNIPER's Settings panel can be accessed by
hovering over the top right "hamburger" icon and
selecting "Settings…" from the revealed fly menu.
Additional Support
For additional resources, updates and support visit http://aescripts.com