Snap the anchor point to any preset or custom point without moving the layer.
Special thanks to Oplique for helping me test and improve this version of the script.
Move anchor point allows you to quickly move the anchor point of a layer to a new location without changing the visible position of the layer. The anchor point can be moved to one of nine preset positions, and new in version 2.0 it can also be moved precisely to a custom position.
You have a few options when using Move Anchor Point. The main way is to use one of the nine presets.
Each of these black icons represents a different point on the layer. Simply select your layer, or multiple layers, then click on one of the buttons and your anchor point will snap to that position.
Underneath the presets is the Ignore masks checkbox:
By default, if there are masks applied to your layer, only the portion within the mask will be taken into account. Checking this box would move the anchor point relative to the layer as if the mask was not there. If the mask is set to 'None', it will automatically be ignored. If there are multiple masks applied, the resulting position will take all masks into account.
The last part of Move Anchor Point is the Custom Point section
The lets you move the anchor point to a precise custom location. To use the custom point, just enter a percentage (Percentages must be entered as fractions or decimals. Ex: 75% could be entered as .75 or 3/4 ) for both the X and Y amount. So if you wanted the anchor point to be 25% of the way across the layer and 85% down it, you would enter .25 for X and .85 for Y. Then just click 'Move to Custom Point'
The area of your layer is represented by numbers between 0 and 1, however you are able to use numbers outside this range if you would like to move your anchor point outside the boundaries of your layer.