# Drawstep engine · Costs · `exileOthers` > Exile others — Exile other cards from the zones (escape, craft, "exile a card from your hand", "exile X cards from your graveyard": count = X). 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#exileOthers ## Where it goes One part of a `cost` object (an activated ability's cost, `mayPay`, `unlessPays`, an `additionalCost`): `{ "exileOthers": … }`; parts combine freely. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `exileOthers` | `{ filter?: ObjectFilter; zones: ("battlefield" \| "hand" \| "graveyard" \| "library" \| "exile" \| "stack" \| "command")[]; includeSelf?: boolean; count?: ValueDef; anyNumber?: boolean; totalManaValue?: num …` | no | Exile other cards from the zones (escape, craft, "exile a card from your hand", "exile X cards from your graveyard": count = X) | ## Stock examples - **Exile Payment Witness** — “” ```json {"exileOthers":{"filter":{"types":["Creature"]},"zones":["battlefield"],"includeSelf":true,"count":1}} ``` - **Snapback** — “” ```json {"exileOthers":{"filter":{"colors":["U"]},"zones":["hand"],"count":1}} ``` - **Force of Will** — “” ```json {"payLife":1,"exileOthers":{"filter":{"colors":["U"]},"zones":["hand"],"count":1}} ``` ## Related - [Costs](https://drawstep.xyz/wiki/mtg/costs.md) — the whole topic - [Filters & targets](https://drawstep.xyz/wiki/mtg/targets.md) — how `target` / `filter` select objects and players (selection algebra) - [Values](https://drawstep.xyz/wiki/mtg/values.md) — every number kind an `amount` accepts - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive