# Drawstep engine · Triggers · `zoneChange` > Zone change — Any zone change, narrowed with `from` / `to`. Engine: Magic: The Gathering (`mtg`). This is one primitive of the Drawstep card vocabulary; field names and the discriminator are exact. Wiki page: https://drawstep.xyz/wiki/mtg/triggers#zoneChange ## Where it goes The `trigger` of a triggered ability: `{ "kind": "triggered", "trigger": { "event": "zoneChange", … }, "effects": [ … ] }`. The common trigger fields (`filter`, `by`, `other`, `condition`, `damageKind`, `oneOrMore` …) are on the triggers page. ## Fields No fields besides the discriminator. ## Stock examples - **Grave Departure Witness** — “Whenever a card leaves your graveyard, you gain 1 life.” ```json {"event":"zoneChange","filter":{"owner":"you"},"from":"graveyard"} ``` - **Defiled Crypt** — “Whenever one or more cards leave your graveyard, create a 2/2 black Horror enchantment creature token. This ability triggers only once each turn.” ```json {"oneOrMore":true,"event":"zoneChange","filter":{"owner":"you"},"from":"graveyard","onceEachTurn":true} ``` - **Graveyard Card Copy Study** — “Whenever a nontoken creature card is put into an opponent's graveyard from anywhere, you may have this creature become a copy of that card, except it has this ability.” ```json {"event":"zoneChange","filter":{"types":["Creature"],"owner":"opponent","isToken":false},"to":"graveyard"} ``` ## Related - [Triggers](https://drawstep.xyz/wiki/mtg/triggers.md) — the whole topic - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive