Created
December 17, 2019 03:52
-
-
Save MarshySwamp/1ef7448b6bb22865ed7b7e1b8a4f521f to your computer and use it in GitHub Desktop.
Code Snippet: Move Layer Content (Translate)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Move the current layer in 5px from the right and down 5px from the top | |
app.activeDocument.activeLayer.translate( -5, 5 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment