0
0
Figmabi_tool~10 mins

Swapping instances in Figma - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

This data represents two button instances in Figma with their variant properties: type (Primary/Secondary), color, and size.

CellValue
A1Button Primary
A2Button Secondary
B1Color: Blue
B2Color: Gray
C1Size: Medium
C2Size: Medium
D1Instance 1
D2Instance 2
Formula Trace
Swap Instance 1 with Instance 2
Step 1: Instance 1 properties = {Type: Button Primary, Color: Blue, Size: Medium}
Step 2: Instance 2 properties = {Type: Button Secondary, Color: Gray, Size: Medium}
Step 3: Swap Instance 1 properties with Instance 2 properties
Step 4: Update Instance 1 to new properties
Step 5: Update Instance 2 to new properties
Cell Reference Map
    A               B           C           D
1 | Button Primary | Color: Blue | Size: Medium | Instance 1
2 | Button Secondary| Color: Gray | Size: Medium | Instance 2

Arrows:
Instance 1 <---> Instance 2 (swapping their properties)
The swap references the properties in columns A, B, and C for Instance 1 and Instance 2 in column D.
Result
    A               B           C           D
1 | Button Secondary| Color: Gray | Size: Medium | Instance 1
2 | Button Primary  | Color: Blue | Size: Medium | Instance 2
After swapping, Instance 1 shows the properties originally of Instance 2, and Instance 2 shows the properties originally of Instance 1.
Sheet Trace Quiz - 3 Questions
Test your understanding
What are the properties of Instance 1 after swapping?
AButton Secondary, Gray, Medium
BButton Primary, Blue, Medium
CButton Secondary, Blue, Medium
DButton Primary, Gray, Medium
Key Result
Swapping instances exchanges all variant properties between two selected instances.