Bird
Raised Fist0
Figmabi_tool~20 mins

Absolute positioning within Auto Layout in Figma - Practice Problems & Coding Challenges

Choose your learning style10 modes available
Challenge - 5 Problems
🎖️
Absolute Positioning Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Absolute Positioning in Auto Layout

In Figma, when you set a child element to absolute positioning inside an Auto Layout frame, what happens to that element?

AThe element remains in the Auto Layout flow but ignores padding settings.
BThe element is removed from the Auto Layout flow and positioned relative to the parent frame.
CThe element resizes automatically to fill the parent frame.
DThe element becomes fixed and cannot be moved inside the frame.
Attempts:
2 left
💡 Hint

Think about how absolute positioning works in CSS and how Figma mimics this behavior.

🎯 Scenario
intermediate
2:00remaining
Positioning an Icon Over Text in Auto Layout

You have a button with text inside an Auto Layout frame. You want to place an icon overlapping the top-right corner of the button using absolute positioning. Which step is not required?

AEnsure the icon is a child of the Auto Layout frame.
BAdjust the icon's X and Y coordinates relative to the parent frame.
CSet the icon's position to absolute inside the Auto Layout frame.
DChange the Auto Layout direction to vertical to allow overlapping.
Attempts:
2 left
💡 Hint

Does changing the Auto Layout direction affect absolute positioning?

🔧 Formula Fix
advanced
2:00remaining
Why Does the Absolutely Positioned Element Not Move?

You set a child element to absolute positioning inside an Auto Layout frame and try to move it by dragging, but it stays fixed in place. What is the most likely cause?

AThe Auto Layout frame is set to vertical direction.
BThe Auto Layout frame has padding set to zero.
CThe element has constraints set to fixed position relative to the parent edges.
DThe element is not a direct child of the Auto Layout frame.
Attempts:
2 left
💡 Hint

Check the constraints settings of the absolutely positioned element.

❓ visualization
advanced
2:30remaining
Visualizing Absolute Positioning Effect

Given an Auto Layout frame with three child rectangles arranged horizontally, one rectangle is set to absolute positioning with top: 0 and right: 0. What will the final layout look like?

Figma
Auto Layout frame: horizontal direction, spacing 10px
Children: Rect1 (normal), Rect2 (absolute, top:0, right:0), Rect3 (normal)
ARect1 and Rect3 arranged horizontally with Rect2 overlapping the top-right corner of the frame.
BAll three rectangles arranged horizontally with equal spacing and no overlap.
CRect2 pushes Rect3 to the right, increasing the frame width.
DRect2 is hidden behind Rect1 and Rect3 because absolute positioning removes it from view.
Attempts:
2 left
💡 Hint

Remember that absolute positioned elements do not take space in Auto Layout flow.

❓ data_modeling
expert
3:00remaining
Modeling Layer Hierarchy with Absolute Positioning

You are designing a complex UI in Figma using Auto Layout frames and absolute positioning. Which statement best describes how absolute positioning affects the layer hierarchy and rendering order?

AAbsolutely positioned elements remain in the layer order but render on top of Auto Layout siblings regardless of their position in the layers panel.
BAbsolutely positioned elements are removed from the layer hierarchy and cannot be reordered.
CAbsolutely positioned elements are rendered behind Auto Layout siblings to avoid overlap.
DAbsolutely positioned elements are grouped separately and do not affect rendering order.
Attempts:
2 left
💡 Hint

Consider how Figma handles z-index and layer order with absolute positioning.

Practice

(1/5)
1. What does absolute positioning do inside an Auto Layout frame in Figma?
easy
A. It places an item exactly where you want, ignoring the layout flow.
B. It resizes the item to fit the Auto Layout direction.
C. It stacks items vertically by default.
D. It removes the item from the frame.

Solution

  1. Step 1: Understand Auto Layout behavior

    Auto Layout arranges items in a flow, either horizontally or vertically.
  2. Step 2: Effect of absolute positioning

    Absolute positioning places an item at a fixed spot inside the frame, ignoring the flow.
  3. Final Answer:

    It places an item exactly where you want, ignoring the layout flow. -> Option A
  4. Quick Check:

    Absolute positioning = fixed spot inside Auto Layout [OK]
Hint: Absolute positioning ignores flow, fixes item location [OK]
Common Mistakes:
  • Thinking absolute positioning resizes items automatically
  • Confusing absolute with relative positioning
  • Assuming absolute items affect layout flow
2. Which of the following is the correct way to enable absolute positioning for a layer inside an Auto Layout frame in Figma?
easy
A. Right-click the layer and select 'Detach from Auto Layout'.
B. Select the layer and check 'Absolute Positioning' in the right panel.
C. Drag the layer outside the Auto Layout frame.
D. Change the frame's direction to 'Absolute'.

Solution

  1. Step 1: Locate absolute positioning option

    In Figma, absolute positioning is enabled by selecting the layer inside an Auto Layout frame and checking 'Absolute Positioning' in the right properties panel.
  2. Step 2: Verify other options

    Detaching removes the layer from Auto Layout, dragging outside removes it from the frame, and frame direction cannot be set to 'Absolute'.
  3. Final Answer:

    Select the layer and check 'Absolute Positioning' in the right panel. -> Option B
  4. Quick Check:

    Enable absolute positioning via right panel checkbox [OK]
Hint: Check 'Absolute Positioning' box in right panel [OK]
Common Mistakes:
  • Trying to detach layer instead of enabling absolute positioning
  • Dragging layer outside frame to position absolutely
  • Looking for 'Absolute' direction in frame settings
3. Given an Auto Layout frame with three items stacked vertically, if the middle item is set to absolute positioning with top=10px and left=20px, what happens to the layout?
medium
A. The middle item stays in flow and shifts down by 10px.
B. The middle item is removed from the frame.
C. The middle item overlaps others at position (20px, 10px) inside the frame.
D. The entire layout breaks and items stack horizontally.

Solution

  1. Step 1: Understand absolute positioning effect

    Absolute positioning places the item at fixed coordinates inside the frame, ignoring the vertical stack flow.
  2. Step 2: Analyze the position values

    Top=10px and left=20px means the item is placed 10 pixels from the top and 20 pixels from the left inside the frame, overlapping other items.
  3. Final Answer:

    The middle item overlaps others at position (20px, 10px) inside the frame. -> Option C
  4. Quick Check:

    Absolute positioned item = fixed overlap location [OK]
Hint: Absolute item ignores flow, overlaps at set coordinates [OK]
Common Mistakes:
  • Assuming absolute item shifts flow items down
  • Thinking absolute item is removed from frame
  • Believing layout direction changes automatically
4. You set a layer inside an Auto Layout frame to absolute positioning but it does not move when you change its X and Y values. What is the most likely cause?
medium
A. The 'Absolute Positioning' checkbox is not enabled.
B. The layer is locked.
C. The frame is not an Auto Layout frame.
D. The layer is not selected properly.

Solution

  1. Step 1: Check absolute positioning setting

    If the layer does not move with X and Y changes, it likely means absolute positioning is not enabled.
  2. Step 2: Verify other causes

    Selection issues, frame type, or locking can cause problems, but the key cause for no movement on X/Y is missing absolute positioning.
  3. Final Answer:

    The 'Absolute Positioning' checkbox is not enabled. -> Option A
  4. Quick Check:

    Enable absolute positioning to move layer by X/Y [OK]
Hint: Enable 'Absolute Positioning' checkbox to move layer [OK]
Common Mistakes:
  • Forgetting to enable absolute positioning
  • Assuming locked layers ignore X/Y changes
  • Confusing frame type with positioning behavior
5. You want to create a notification badge that stays fixed at the top-right corner of a button inside an Auto Layout frame. Which approach correctly uses absolute positioning to achieve this?
hard
A. Detach the button from Auto Layout and position the badge absolutely inside the frame.
B. Place the badge outside the Auto Layout frame and position it manually.
C. Set the badge as a sibling item in Auto Layout and use padding to push it to the corner.
D. Place the badge inside the button and enable absolute positioning with top=0 and right=0.

Solution

  1. Step 1: Understand badge positioning inside button

    The badge should be inside the button to move with it and positioned absolutely to fix at top-right.
  2. Step 2: Use absolute positioning with top and right

    Enabling absolute positioning and setting top=0 and right=0 places the badge exactly at the button's top-right corner.
  3. Final Answer:

    Place the badge inside the button and enable absolute positioning with top=0 and right=0. -> Option D
  4. Quick Check:

    Badge inside button + absolute top-right = fixed corner [OK]
Hint: Put badge inside button, set absolute top=0 right=0 [OK]
Common Mistakes:
  • Placing badge outside frame losing alignment
  • Using padding instead of absolute positioning
  • Detaching button unnecessarily
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard