# Drawstep engine · Costs · `discard` > Discard — Discard this many cards; { kind: "var", name: "X" } for "discard X cards". 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#discard ## Where it goes One part of a `cost` object (an activated ability's cost, `mayPay`, `unlessPays`, an `additionalCost`): `{ "discard": … }`; parts combine freely. Printed words that point here (search aliases): discard a card cost. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `discard` | `ValueDef` | no | Discard this many cards; { kind: "var", name: "X" } for "discard X cards" | ## Stock examples - **Discard Ward** — “” ```json {"discard":1} ``` - **Double Ward** — “” ```json {"discard":1} ``` - **Pitch Additional** — “” ```json {"discard":1} ``` ## Related - [Costs](https://drawstep.xyz/wiki/mtg/costs.md) — the whole topic - [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