# Drawstep engine · Keyword abilities & simple keywords · `escape` > Escape — Cast from your graveyard for this cost plus exiling N other cards from it. 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/keywords#escape ## Where it goes One entry of `keywordAbilities[]`: `{ "keyword": "escape", … }`. Plain keywords with no parameter are strings in `keywords[]`. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `cost` | `CostDef` | yes | The cost (CostDef) | | `exileCount` | `number` | no | How many other cards from the graveyard must be exiled to escape | | `exileAnyNumber` | `boolean` | no | "Exile any number of other cards from your graveyard with four or more card types among them" (Nethergoyf): the player chooses any number of other graveyard cards; minCardTypes is the number of card types they must have among them | | `minCardTypes` | `number` | no | With exileAnyNumber: the exiled cards have at least this many card types among them (CR 205.2a; Nethergoyf: 4) | | `costIsManaCost` | `boolean` | no | "The escape cost is equal to the card's mana cost plus exile N other cards from your graveyard" (CR 702.138, 118.6): the card's own mana cost (cost holds only other parts); no mana cost is unpayable | ## Minimal form ```json {"keyword":"escape","cost":{"mana":"{1}"}} ``` The engine reads that minimal form as: “Escape—{1}, Exile zero other cards from your graveyard”. ## Stock examples - **Escape Witness** — “This creature escapes with two +1/+1 counters on it.” ```json {"keyword":"escape","cost":{"mana":"{0}"},"exileCount":1} ``` - **Alex Wilder, Runaway** — “Escape—{2}{R}, Exile three other cards from your graveyard.” ```json {"keyword":"escape","cost":{"mana":"{2}{R}"},"exileCount":3} ``` - **Glimpse of Freedom** — “Draw a card. Escape—{2}{U}, Exile two other cards from your graveyard.” ```json {"keyword":"escape","cost":{"mana":"{2}{U}"},"exileCount":2} ``` ## Related - [Keyword abilities & simple keywords](https://drawstep.xyz/wiki/mtg/keywords.md) — the whole topic - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive