Bird
Raised Fist0
Figmabi_tool~10 mins

Spacing and measurement tools in Figma - Cell-by-Cell Formula Trace

Choose your learning style10 modes available

Start learning this pattern below

Jump into concepts and practice - no test required

or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Sample Data

Positions and sizes of two buttons on a design canvas

CellValue
A1Element
B1X Position
C1Y Position
D1Width
E1Height
A2Button1
B2100
C2200
D2150
E250
A3Button2
B3270
C3200
D3150
E350
Formula Trace
Spacing = B3 - (B2 + D2)
Step 1: B2 + D2
Step 2: 100 + 150
Step 3: B3 - 250
Step 4: 270 - 250
Cell Reference Map
    A       B       C       D       E
1 |Element|X Pos  |Y Pos  |Width  |Height |
2 |Button1|  100  |  200  |  150  |  50   |
3 |Button2|  270  |  200  |  150  |  50   |

References used: B2 (Button1 X), D2 (Button1 Width), B3 (Button2 X)
The formula uses the X position and width of Button1 and the X position of Button2 to calculate spacing
Result
    A       B       C       D       E       F
1 |Element|X Pos  |Y Pos  |Width  |Height |Spacing|
2 |Button1|  100  |  200  |  150  |  50   |       |
3 |Button2|  270  |  200  |  150  |  50   |  20   |

Spacing in F3 shows the horizontal gap between Button1 and Button2
The spacing value 20 is shown next to Button2, representing the gap between the two buttons horizontally
Sheet Trace Quiz - 3 Questions
Test your understanding
What does the expression B2 + D2 represent in the formula?
AThe left edge position of Button2
BThe width of Button2
CThe right edge position of Button1
DThe vertical position of Button1
Key Result
Spacing between two elements = Left position of second element - (Left position + Width of first element)

Practice

(1/5)
1. What is the main purpose of spacing tools in Figma?
Spacing tools help designers to:
easy
A. Export files in different formats
B. Change colors of elements
C. Place elements evenly and neatly
D. Add animations to designs

Solution

  1. Step 1: Understand spacing tools function

    Spacing tools are used to arrange elements with equal gaps and alignment.
  2. Step 2: Identify correct purpose

    Changing colors, adding animations, or exporting are unrelated to spacing tools.
  3. Final Answer:

    Place elements evenly and neatly -> Option C
  4. Quick Check:

    Spacing tools = Place elements evenly and neatly [OK]
Hint: Spacing tools arrange gaps evenly between elements [OK]
Common Mistakes:
  • Confusing spacing tools with color or animation tools
  • Thinking spacing tools export files
  • Assuming spacing tools create new elements
2. Which of the following is the correct way to measure the distance between two objects in Figma?
easy
A. Select both objects and press Alt (Option) key
B. Use the paint bucket tool
C. Click the text tool and type distance
D. Drag objects without holding any key

Solution

  1. Step 1: Recall measurement shortcut

    Holding Alt (Option) while selecting objects shows distance between them.
  2. Step 2: Eliminate incorrect options

    Paint bucket changes color, text tool types text, dragging alone doesn't measure.
  3. Final Answer:

    Select both objects and press Alt (Option) key -> Option A
  4. Quick Check:

    Measure distance = Alt key + select [OK]
Hint: Hold Alt and select objects to see spacing [OK]
Common Mistakes:
  • Using paint bucket tool to measure
  • Typing 'distance' in text tool
  • Dragging objects without modifier keys
3. In Figma, if you select three objects aligned horizontally and use the 'Tidy Up' button, what happens?
medium
A. Objects are stacked vertically with no gaps
B. Objects are grouped without changing spacing
C. Objects change color randomly
D. Objects are spaced evenly with equal gaps horizontally

Solution

  1. Step 1: Understand 'Tidy Up' function

    'Tidy Up' arranges selected objects evenly with equal spacing in their current alignment direction.
  2. Step 2: Analyze options

    Stacking vertically or changing colors are unrelated; grouping does not adjust spacing.
  3. Final Answer:

    Objects are spaced evenly with equal gaps horizontally -> Option D
  4. Quick Check:

    Tidy Up = Even horizontal spacing [OK]
Hint: 'Tidy Up' evens out gaps between selected items [OK]
Common Mistakes:
  • Thinking 'Tidy Up' stacks vertically
  • Expecting color changes
  • Assuming grouping without spacing change
4. You try to measure the distance between two objects in Figma but no measurement lines appear. What is the most likely reason?
medium
A. You forgot to hold the Alt (Option) key while selecting
B. The objects are locked
C. You used the text tool instead of selection tool
D. The objects are on different pages

Solution

  1. Step 1: Recall measurement method

    Distance lines appear only when holding Alt (Option) key while selecting objects.
  2. Step 2: Evaluate other reasons

    Locked objects or different pages don't prevent measurement lines if Alt is held; text tool usage is unrelated.
  3. Final Answer:

    You forgot to hold the Alt (Option) key while selecting -> Option A
  4. Quick Check:

    Measure lines need Alt key held [OK]
Hint: Hold Alt key to see measurement lines between objects [OK]
Common Mistakes:
  • Not holding Alt key
  • Assuming locked objects block measurement lines
  • Confusing tool usage
5. You have a complex design with multiple elements. You want to ensure all buttons have exactly 20px spacing between them horizontally and are aligned perfectly. Which combination of Figma tools and steps will best achieve this?
hard
A. Select buttons and change their fill color to blue
B. Use rulers to create guides, select buttons, hold Alt to check spacing, then use 'Tidy Up' to fix gaps
C. Group buttons and drag them randomly to adjust spacing
D. Use the text tool to label each button with spacing values

Solution

  1. Step 1: Use rulers and guides for alignment

    Rulers help place guides at exact positions to align buttons perfectly.
  2. Step 2: Measure spacing with Alt key

    Holding Alt while selecting buttons shows current spacing between them.
  3. Step 3: Use 'Tidy Up' to fix spacing

    'Tidy Up' arranges buttons evenly with equal gaps, ensuring 20px spacing horizontally.
  4. Final Answer:

    Use rulers to create guides, select buttons, hold Alt to check spacing, then use 'Tidy Up' to fix gaps -> Option B
  5. Quick Check:

    Rulers + Alt + Tidy Up = Perfect spacing [OK]
Hint: Combine rulers, Alt key, and Tidy Up for precise spacing [OK]
Common Mistakes:
  • Changing colors instead of spacing
  • Dragging without guides or measurement
  • Using text tool for spacing values