The layer system (CR 613) processes continuous effects in a strict sequence. Layer 4 handles type-changing effects, and Layer 6 handles ability-adding and ability-removing effects. Because Layer 4 is applied before Layer 6, any change to a permanent's types or subtypes is already in place when Layer 6 effects are evaluated.
This matters most when an ability granted in Layer 6 has a condition tied to a creature's type or subtype. If a type-changing effect in Layer 4 removes or adds a relevant type, the Layer 6 ability may or may not apply as a result. CR 613.1 establishes the order: (a) copy, (b) control, (c) text, (d) type, (e) color, (f) ability, (g) power/toughness.
A key example: suppose an effect says 'All Merfolk have hexproof' (a Layer 6 ability-granting effect). If another continuous effect in Layer 4 changes a Merfolk into an artifact with no creature subtypes, that creature is no longer a Merfolk when Layer 6 is evaluated, so it does not gain hexproof from that effect. The type-change in Layer 4 directly determined what Layer 6 applied.
Conversely, if an effect in Layer 4 adds the Zombie subtype to a creature, and a separate Layer 6 effect grants all Zombies 'Menace,' that creature will gain Menace — because by the time Layer 6 runs, the creature is already a Zombie thanks to Layer 4.
Note that dependency (CR 613.8) can further affect the order within layers if one effect's application changes what another effect does, but the cross-layer ordering (4 before 6) is always fixed and not subject to dependency reordering.
Unofficial fan resource — not affiliated with or endorsed by Wizards of the Coast. Answers are AI-generated estimates grounded in the Comprehensive Rules and are not a substitute for an official judge. Verify anything match-critical.