# Drawstep engine · Triggers · `leaves` > Leaves — An object left the battlefield. 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#leaves ## Where it goes The `trigger` of a triggered ability: `{ "kind": "triggered", "trigger": { "event": "leaves", … }, "effects": [ … ] }`. The common trigger fields (`filter`, `by`, `other`, `condition`, `damageKind`, `oneOrMore` …) are on the triggers page. Printed words that point here (search aliases): leaves the battlefield. ## Fields No fields besides the discriminator. ## Stock examples - **Nefarious Imp** — “Whenever one or more permanents you control leave the battlefield, scry 1.” ```json {"oneOrMore":true,"event":"leaves","filter":{"controller":"you"}} ``` - **Klement, Nature Acolyte** — “When Klement, Nature Acolyte leaves the battlefield, create a 4/4 green Ox creature token.” ```json {"event":"leaves","filter":{"self":true}} ``` - **Boreas Charger** — “When this creature leaves the battlefield, choose an opponent who controls more lands than you. Search your library for a number of Plains cards equal to the difference, reveal those cards, put one of them onto the battlefield tapped and the rest into your hand, then shuffle.” ```json {"event":"leaves","filter":{"self":true}} ``` ## 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