description
The Transform tool looks simple at first glance, but a handful of modifier keys turn it into a far more capable way to scale, rotate, shear, and reshape an image. This tutorial covers those shortcuts, including moving the reference point so a rotation lands where it should, then puts them to work on a real project: masking a beach photo onto a phone screen and warping it into convincing perspective, glare and all.
Enjoying This Free Tutorial?
We publish a new free tutorial every week, each one with sample images and PSDs you can download and follow along with. Sign up and they land straight in your inbox, along with early word on sales, events and subscriber-only offers.

How to Master the Transform Tool in Photoshop
The Transform tool looks simple at first glance, but a handful of modifier keys turn it into a much more powerful tool for scaling, rotating, and reshaping an image. This tutorial covers those shortcuts, then puts them to work on a real project: warping a beach photo so it looks like it’s genuinely displayed on an iPhone screen.
Duplicating the Background Layer First
Keeping an untouched backup copy before transforming anything means starting over is always an option if the result doesn’t work out.
-
Select the Background Layer
Click the background layer in the Layers panel to make sure it’s selected.
-
Duplicate the Layer
Press Cmd/Ctrl+J to duplicate the background layer, creating a safe backup before any transforming begins.
Entering Transform Mode
Pressing Cmd/Ctrl+T is the most direct way into the Transform tool, surrounding the image with the handles and numbers used for every transformation.
-
Press Cmd/Ctrl+T to Enter Transform Mode
With a layer selected, press Cmd/Ctrl+T to bring up the transform borders and the numeric fields along the top of the screen.
-
Press Escape to Exit Without Transforming
Press Escape at any point to leave transform mode without applying any changes.
Rotating and Scaling With the Corner Handles
Clicking just outside the image rotates it, while clicking and dragging a corner handle scales it, with Shift keeping either action locked to clean increments or proportions.
-
Click Outside the Image to Rotate
Click just outside the image border and drag to rotate it freely around its center.
-
Hold Shift to Rotate in Fixed Increments
Hold Shift while rotating to snap the rotation to 15-degree increments.
-
Drag a Corner Handle to Scale
Click and drag any corner handle inward or outward to scale the image up or down.
-
Hold Shift to Constrain Proportions While Scaling
Hold Shift while dragging a corner to keep the image’s proportions locked, preventing unwanted stretching.
Combining Shift and Option for Precise Transforms
Adding Option/Alt into the mix changes which point a transformation is measured from, scaling or rotating around the center or a custom point instead of a fixed corner.
-
Hold Shift and Option/Alt to Scale From the Center
Hold Shift and Option/Alt while dragging a corner to scale the image proportionally around its center point instead of the opposite corner.
-
Move the Reference Point Before Scaling
Reposition the reference point away from the center first, then hold Shift and Option/Alt to scale around that new point instead.
Why Duplicating the Layer First Matters
Once several transformations have been applied in sequence, undoing back to the original untouched image can mean stepping backward through every single change one at a time. Keeping a duplicate layer from the very start means recovering the original is as simple as returning to that backup layer, rather than unwinding a long history of edits.
Shearing and Reshaping the Perspective With Control/Command
Holding Control/Command while dragging a point shears or freely repositions that single corner, which is what makes it possible to bend a flat image into a specific perspective.
-
Hold Control/Command and Drag a Top or Side Point to Shear
Hold Control/Command and drag the top point to shear the image horizontally, or a side point to shear it vertically.
-
Hold Control/Command and Drag a Corner to Reposition It Freely
Hold Control/Command and drag any single corner point independently of the others to place it exactly where a specific perspective requires.
Changing the Reference Point for Rotation
The small grid of squares at the top of the screen sets exactly which point a transformation rotates or scales around, so a rotation can pivot from a corner instead of always defaulting to the center.
-
Locate the Reference Point Grid
Look at the small grid of squares near the X, Y, width, and height fields at the top of the screen, where the lit-up square shows the current reference point.
-
Click a Different Square to Move the Reference Point
Click a corner square, such as the bottom left, to set that point as the new reference point.
-
Rotate Around the New Reference Point
Rotate the image and it now pivots around the newly chosen reference point instead of the center, without needing to reposition it afterward.
Why Changing the Reference Point Saves Extra Steps
Rotating around the default center point often leaves an image needing to be repositioned and resized all over again just to line back up correctly. Moving the reference point to the exact corner or edge that needs to stay fixed means a rotation lands in place immediately, without any follow-up adjustments.
Selecting and Masking the Photo Into the iPhone Screen
A polygonal lasso selection traced around the screen’s four corners becomes the layer mask that keeps the beach photo visible only where the iPhone’s screen actually is.
-
Hide the Photo Layer Temporarily
Turn off the visibility of the beach photo layer so the iPhone photo underneath is fully visible.
-
Trace the Screen With the Polygonal Lasso Tool
Select the Polygonal Lasso tool and click each of the screen’s four corners in turn to build a straight-edged selection.
-
Close the Selection
Click back on the starting point, watching for the small circle icon that confirms the selection is about to close, to complete the selection.
-
Turn the Photo Layer Back On
Turn the beach photo layer’s visibility back on now that the selection is ready.
-
Add a Layer Mask From the Selection
With the photo layer selected, click the Add Layer Mask button to turn the active selection directly into a mask.
Unlinking the Layer and Mask, Then Transforming Into Perspective
Unlinking the layer from its mask keeps the mask fixed in place on the screen while the photo underneath gets moved, rotated, and sheared into the correct perspective.
-
Unlink the Layer From Its Mask
Click the small chain icon between the layer thumbnail and the mask thumbnail to unlink them.
-
Move the Photo Independently of the Mask
Select the layer thumbnail and use the Move tool to reposition the photo without shifting the mask.
-
Enter Transform Mode on the Photo Layer
Press Cmd/Ctrl+T to bring up the transform borders around the photo layer, visible even where the mask is hiding parts of it.
-
Shear and Reposition Points to Match the Screen’s Angle
Hold Shift or Control/Command as needed while dragging the corner and edge points until the photo’s edges line up with the screen’s actual perspective.
-
Stretch a Landscape Photo More Freely Than a Portrait
Push a corner point further than usual to include more of the scene, keeping in mind that a landscape can tolerate more stretching than a photo with a recognizable face.
-
Confirm the Transformation
Press Enter, or click the checkmark in the options bar, to apply the finished transformation.
Why Unlinking the Layer and Mask Matters
With the layer and its mask still linked together, moving or transforming the photo would drag the mask along with it, pulling the visible area away from the actual screen. Unlinking them means the mask can stay locked exactly onto the screen while the photo underneath gets freely repositioned, rotated, and reshaped until its perspective matches.
Adding a Realistic Glare With a Clipping Mask
A soft blur on the mask edge and a gradient-based glare layer, clipped to the same mask, are what push the composite from accurate to convincingly realistic.
-
Blur the Layer Mask’s Edge
Select the layer mask and apply a small Gaussian blur to soften its sharp, lasso-drawn edge.
-
Draw a Triangle Selection for the Glare
Create a new layer and use the Polygonal Lasso tool to draw a triangle across the top corner of the screen area.
-
Paint a White-to-Transparent Gradient
Press G for the Gradient tool, set it to Foreground to Transparent with white as the foreground color, and drag across the triangle selection to paint the glare.
-
Deselect and Create a Clipping Mask
Press Cmd/Ctrl+D to deselect, then right-click the glare layer and choose Create Clipping Mask so it only shows where the photo layer beneath it is visible.
-
Lower the Glare Layer’s Opacity
Reduce the glare layer’s opacity so the highlight reads as a subtle screen reflection rather than a solid white shape.
Why This Approach Works
Duplicating the background layer before transforming anything keeps a safe fallback available in case a rotation or scale doesn’t turn out as planned. Changing the reference point rather than always transforming around the center is what lets a rotation land exactly where it’s needed without extra repositioning afterward. Unlinking the layer from its mask is what makes it possible to keep refining the photo’s perspective inside the screen without ever disturbing the mask that keeps it contained there.
Final Thoughts
The Transform tool’s keyboard shortcuts, Shift for constraint, Option/Alt for the center point, and Control/Command for shearing and freeform corners, cover the vast majority of what it can do once they become second nature. The same combination of a lasso-based mask, an unlinked layer, and a Control/Command-shifted perspective works for fitting any photo into any screen, not just the one shown here.
Quick Reference: Keys, Menus and Settings
- Back up firstCmd/Ctrl + J duplicates the layer
- TransformCmd/Ctrl + T; Esc cancels, Enter or the check mark applies
- Rotate and scaleDrag outside to rotate, Shift for 15-degree steps; Shift-drag a corner to keep proportions
- From the centerShift + Alt/Option-drag a corner
- Shear and distortCmd/Ctrl-drag a top or side point to shear, a corner to move it freely
- Pivot pointReference point grid next to X and Y at the top of the screen
- Fit to a screenPolygonal Lasso, layer mask, unlink the chain; glare with G, Foreground to Transparent, Create Clipping Mask
No AI, no generative credits.
The Transform Tool: Common Questions
How do I use the Transform tool in Photoshop?
Select the layer and press Cmd/Ctrl + T. Handles appear around the image and the numbers show along the top. Press Escape to leave without changing anything.
How do I rotate in exact steps?
Click and drag just outside the image to rotate. Hold Shift and it snaps in 15-degree steps: 15, 30, 45 and on to 90.
How do I scale without stretching the image?
In the video, holding Shift while dragging a corner keeps the proportions, so a face doesn’t get stretched.
How do I scale from the center?
Hold Shift and Alt/Option while you drag a corner. The image scales around its center point, or around wherever you moved that point.
How do I skew an image or change its perspective?
Hold Cmd/Ctrl and drag a handle. The top point shears the image horizontally, a side point shears it vertically and a corner moves on its own.
How do I rotate around a corner instead of the center?
Click a square in the reference point grid at the top of the screen, next to X and Y. With the bottom left square set, the image pivots on that corner.
What do the numbers at the top of the screen do?
They set the position (X and Y), width, height, angle and horizontal and vertical shear. You can type values in instead of dragging.
How do I put a photo onto a phone screen?
Select the screen with the Polygonal Lasso by clicking its four corners, then click the layer mask button on the photo layer. Unlink the mask with the chain icon, press Cmd/Ctrl + T and Cmd/Ctrl-drag the corners until the photo matches the screen.
How do I add a glare to the screen?
On a new layer, draw a triangle with the Polygonal Lasso and drag a white Foreground to Transparent gradient across it. Right-click the layer, choose Create Clipping Mask and lower the opacity.
From the Magazine View all
Stories, interviews and guides for photographers, new every week.
EditingLightCraft vs Lightroom: I Edited the Same RAW Files in BothThe free clone on the same RAW files: what matches, what breaks and who should switch.
InspirationRare Historical Photos: 13 of the Rarest Pictures Ever TakenFrom the earliest surviving picture of a person to the last passenger pigeon: who took each one and why it survives.
EditingArtCraft: Photoshop Cloned by AI in Two Weeks. Is It Legal?ArtCraft cloned Photoshop and Lightroom with AI and gave them away. Any good? Legal? Safe?
Master Photoshop, Lightroom and Photography
Join PHLEARN PRO for $12.99 a month, or $99.99 a year (save 36%). Cancel anytime, with a 30-day money-back guarantee.
