# Drawstep engine · Effects · `exile` > Exile — Exile selected objects; mode choose and chooser target let the targeted player choose their own cards on resolution (CR 406.1, 608.2d). 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/effects#exile ## Where it goes One step of an ability's `effects[]` (a spell's, a trigger's, an activated ability's, a mode's): `{ "effect": "exile", … }`. Steps resolve in order. Printed words that point here (search aliases): exile removal until this leaves the battlefield them. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `target` | `TargetDef` | yes | What it acts on (TargetDef) | | `faceDown` | `boolean` | no | Face down (CR 708) | | `link` | `boolean \| "timestampOrder"` | no | Link the exiled cards to this source incarnation. timestampOrder lets the exiling player order simultaneous components so the latest card is defined (CR 712.21b, 727.3) | | `until` | `{ untilEvent: TriggerDef } \| { leaves: TargetDef }` | no | CR 610.3: exile only until this event; the cards then return (Palace Jailer, Calix) | ## Minimal form ```json {"effect":"exile","target":{"of":"object","mode":"chosen","filter":{"types":["Creature"]}}} ``` The engine reads that minimal form as: “exile target creature”. ## Stock examples - **Cohort Exile** — “” ```json {"effect":"exile","target":{"of":"object","mode":"all","filter":{"name":"Cohort Merfolk"}}} ``` - **Graveyard Exile** — “” ```json {"effect":"exile","target":{"of":"object","mode":"all","zone":"graveyard","filter":{"owner":"you"}}} ``` - **Free Study** — “” ```json {"effect":"exile","target":{"of":"object","mode":"top","zone":"library"}} ``` ## Related - [Effects](https://drawstep.xyz/wiki/mtg/effects.md) — the whole topic - [Filters & targets](https://drawstep.xyz/wiki/mtg/targets.md) — how `target` / `filter` select objects and players (selection algebra) - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive