# Drawstep engine · Costs · `exileSelf` > Exile self — Exile this object from wherever it is ("Exile ~: …"). 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/costs#exileSelf ## Where it goes One part of a `cost` object (an activated ability's cost, `mayPay`, `unlessPays`, an `additionalCost`): `{ "exileSelf": … }`; parts combine freely. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `exileSelf` | `boolean` | no | Exile this object from wherever it is ("Exile ~: …") | ## Stock examples - **Elvish Spirit Guide** — “Exile this card from your hand: Add {G}.” ```json {"exileSelf":true} ``` - **Gerrard's Hourglass Pendant** — “{4}, {T}, Exile Gerrard's Hourglass Pendant: Return to the battlefield tapped all artifact, creature, enchantment, and land cards in your graveyard that were put there from the battlefield this turn.” ```json {"mana":"{4}","tapSelf":true,"exileSelf":true} ``` - **Underdark Rift** — “{5}, {T}, Exile this land: Roll a d10. Put target artifact, creature, or planeswalker into its owner's library just beneath the top X cards of that library, where X is the result. Activate only as a sorcery.” ```json {"mana":"{5}","tapSelf":true,"exileSelf":true} ``` ## Related - [Costs](https://drawstep.xyz/wiki/mtg/costs.md) — the whole topic - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive