For layers to be considered matching, all three of the following must match.
Layer names.
Parent layer names,.
Hierarchy position.
If multiple layers meet above criteria, matching is determined based on index of layer within its parent in the layer panel on the left.
Matching layers with have a blue outline across frames, like in the below examples.
1️⃣ Layer names
Matching layers must have identical names.
✅ Match
❌ No match
Exception: Text layers
If explicitly named or renamed in layer panel, the text layer names must match. If implicitly named based on text content, their text styles must match. If multiple matching text objects exist, the best match is estimated based on coordinate position on canvas.
2️⃣ Parent layer names
All parent layers, except for top-level frames, must having matching names.
✅ Match
Parent layer names match
❌ No match
Parent layer names do not match
3️⃣ Hierarchy position
Matching layers must have the same position in the layer hierarchy relative to their top-level frame.
✅ Match
❌ No match
‼️ Multiple matching layers
If there are two or more objects in a frame with the same name and all other matching requirements are met, matching is determined based on the index of the layer within its parent.
The index is the position of the layer within a parent as seen in the layer panel on the left.