Topics Covered in This Adobe XD Tutorial:
Setting up the Parallax Assets, Building the Parallax Animation
Exercise Preview

Tutorial Components
Exercise Overview
In this exercise, you'll master Adobe XD's auto-animate feature to create compelling parallax animations that add depth and visual interest to your digital designs. Parallax effects remain a cornerstone of modern web and app design, providing that essential sense of dimensionality that elevates user experience beyond flat, static interfaces.
Parallax animations create depth by moving multiple layers at different speeds. Background elements move slower, while foreground elements move faster, mimicking natural visual perception.
Core Animation Concept
Background Layer
Moves slowest to establish the foundation depth
Middleground Layer
Moves at medium speed for transitional depth
Foreground Layer
Moves fastest to create prominent depth effect
Setting up a Parallax Photo
Parallax animations create the illusion of depth by moving multiple visual layers at different velocities. This technique mimics natural visual perception: background elements (representing distant objects) move slowly, while foreground layers move progressively faster to simulate proximity. The effect creates an engaging sense of three-dimensional space within your two-dimensional design.
The most technically challenging aspect of parallax animation lies in the Photoshop preparation work. Professional parallax effects require each visual layer to be meticulously separated with unwanted elements removed and transparency properly maintained. We've streamlined this process for you, but understanding the workflow is crucial: each layer must be exported as a PNG file to preserve transparency when imported into XD. Below you'll see our three carefully prepared layers: background, middleground, and foreground elements that will create the final parallax effect:

Now let's begin building your parallax animation by setting up the foundational elements:
- In Adobe XD, go to File > Open from Your Computer or hit Cmd–Shift–O (Mac) or CTRL–Shift–O (Windows).
Navigate into Desktop > Class Files > Adobe XD Class and double–click on Parallax.xd to open it.
You'll notice we've already imported the background photograph to give you a starting point. Now we need to layer in the middleground and foreground elements that will create the parallax depth effect.
- In the Toolbar, choose the Select tool
. - If the Layers panel is not open, go to the bottom left of the window and click the
icon. - Click on the top (header) photo to select it.
Duplicate it by hitting Cmd–D (Mac) or CTRL–D (Windows).
While the artboard appears unchanged (the duplicate sits in the exact same position as the original), the Layers panel now shows two Background layers. This duplication technique allows us to maintain consistent positioning while replacing the content—a essential workflow for complex layered animations.
- CTRL–click (Mac) or Right–click (Windows) on the header photo and choose Replace Image.
- Navigate into Desktop > Class Files > Adobe XD Class > Parallax Photos and double–click on Middleground.jpg to choose it.
- In the Layers panel, double–click on the top layer named Background and rename it to Middleground.
- Let's repeat this process for the foreground photo. With the Middleground photo still selected, duplicate it by hitting Cmd–D (Mac) or CTRL–D (Windows).
- CTRL–click (Mac) or Right–click (Windows) on the header photo and choose Replace Image.
- Double–click on Foreground.jpg to choose it (if you don't see it, navigate into Desktop > Class Files > Adobe XD Class > Parallax Photos).
- In the Layers panel, double–click on the top layer named Middleground and rename it to Foreground.
The most challenging aspect of parallax animation is preparing assets in Photoshop. Each layer needs transparent backgrounds and unwanted elements removed. Save as PNG to preserve transparency.
Layer Setup Process
Open Project File
Access Parallax.xd from the class files using File > Open from Computer or keyboard shortcuts
Duplicate Base Layer
Create copies of the background photo to replace with middleground and foreground images
Replace Images
Use the Replace Image context menu option to substitute duplicated layers with appropriate assets
Rename Layers
Organize layers with descriptive names: Background, Middleground, and Foreground for clarity
Adding a Mask
Professional parallax animations require careful masking to prevent visual artifacts. As our foreground elements move upward faster than background layers, portions of the background would become visible at the bottom edge—breaking the illusion. By creating a mask that encompasses both the photos and overlaid text elements, we maintain clean boundaries throughout the animation sequence.
- Click on the top Foreground photo (refer to the Layers panel to confirm your selection).
- Duplicate it by hitting Cmd–D (Mac) or CTRL–D (Windows).
- In the Layers panel, rename the top Foreground layer to Mask.
- We need to convert this photo shape into a masking element. In the Property Inspector, click on the Fill color and choose white.
- In the Layers panel, drag the The Islands of Hawaii layer below the Mask.
- In the Layers panel, click on the Mask layer.
- Hold Shift and click on Background layer.
- Choose Object > Mask with Shape.
- In the Layers panel, rename Mask Group 1 to parallax.
When foreground layers move faster than background layers, unwanted bottom portions of background images become visible. Masking prevents this visual issue.
Masking Implementation
Create Mask Shape
Duplicate the foreground layer and convert it to a white fill to serve as the mask shape
Position Text Layer
Move the text layer below the mask in the layer hierarchy for proper masking order
Apply Mask
Select all layers and use Object > Mask with Shape to create the parallax group
Building the Parallax Animation
Now comes the exciting part: bringing your carefully prepared layers to life through Adobe XD's powerful auto-animate feature. Effective parallax animation relies on creating two distinct states—the initial position and the final position—then letting XD interpolate the smooth motion between them. This approach gives you precise control over timing and easing while maintaining the fluid, natural movement that makes parallax effects so engaging.
- Select the artboard by clicking on the artboard name Parallax Start (at the top left of the artboard).
- Duplicate it by hitting Cmd–D (Mac) or CTRL–D (Windows).
- Rename the new artboard by double–clicking the Parallax Start – 1 name at the top left and change it to Parallax End.
- On the Parallax End artboard, double–click on the header photo to enter the parallax mask group.
- In the Layers panel, inside the parallax group click on The Islands of Hawaii layer.
- Hold Shift and in the Layers panel click on the Middleground layer.
- Let's establish the base movement for our background elements. Hold Shift and press the Up Arrow key 5 times.
- In the Layers panel, hold Cmd (Mac) or CTRL (Windows) and click on the Middleground layer (so only the The Islands of Hawaii and Foreground layers are selected).
- Hold Shift and press the Up Arrow key 10 times.
- In the Layers panel, hold Cmd (Mac) or CTRL (Windows) and click on the Foreground layer (so only the The Islands of Hawaii layer is selected).
- Hold Shift and press the Up Arrow key 15 times.
- In the Layers panel, select the Mask layer.
Drag the bottom resize handle so it snaps to the bottom of the Foreground layer.
TIP: If it's difficult to see the bottom edge of the Foreground layer:
- Temporarily hide the Middleground and Background layers (hover over the layer name in the Layers panel and click the eye
icon). - Adjust the bottom of the mask to align with the bottom of the Foreground layer.
- Make the Middleground and Background layers visible again.
- Temporarily hide the Middleground and Background layers (hover over the layer name in the Layers panel and click the eye
- Now we'll configure the animation parameters. At the top left of the window click Prototype.
- Click on the Parallax Start artboard name to select the artboard.
- At the top the Property Inspector, to the far right of Interaction click the + button.
In the Property Inspector, configure these settings for optimal parallax timing:
- Trigger: Time
- Delay: 1 s (allows viewers to absorb the initial composition before animation begins)
- Type: Auto-Animate
- Destination: Parallax End
- Easing: Ease In-Out
- Duration: 4 s
- At the top right of the window, click on Desktop Preview
or hit Cmd–Return (Mac) or CTRL–Enter (Windows). Wait a moment and watch as your parallax animation comes to life!
The deliberately slow timing allows you to observe how each layer moves at its designated speed, creating that coveted depth effect. For the finishing touch, we'll position the entire composition to simulate the natural scrolling experience users expect.
- Close the preview window.
- Drag the header photo (parallax) group upward until its bottom edge aligns with the top of the artboard, positioning it completely off-screen initially.
- Locate the text and photo content lower on the artboard. Drag this content upward so the first paragraph creates an aesthetically pleasing layout below the navigation bar.
- Click in an empty area of the canvas to deselect all elements.
- At the top right of the window, click on Desktop Preview
or hit Cmd–Return (Mac) or CTRL–Enter (Windows). Experience your completed parallax animation—a professional-grade effect that demonstrates the sophisticated motion design capabilities possible within Adobe XD!
Artboard Requirements
| Feature | Start Artboard | End Artboard |
|---|---|---|
| Purpose | Initial state design | Final animation state |
| Layer Positioning | Original positions | Offset positions for depth |
| Animation Role | Starting point | Destination target |
Layer Movement Strategy
Text and Base Movement
Move text and middleground layers up 5 arrow key presses for subtle movement
Enhanced Text Movement
Add 10 more arrow key presses to text and foreground for increased parallax effect
Maximum Text Movement
Apply additional 15 arrow key presses to text layer for maximum depth perception
Mask Adjustment
Resize mask to match foreground layer bottom for proper visual boundaries
Configure prototype with Time trigger, 1 second delay, Auto-Animate type, Ease In-Out easing, and 4 second duration for smooth professional results.