# Drawstep engine · Effects · `drawCards` > Draw cards — e.g. “draw a card”. 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#drawCards ## Where it goes One step of an ability's `effects[]` (a spell's, a trigger's, an activated ability's, a mode's): `{ "effect": "drawCards", … }`. Steps resolve in order. Printed words that point here (search aliases): draw a card draws cards. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `who` | `"you" \| "controller" \| "abilityController" \| "sourceController" \| "owner" \| "eachOpponent" \| "eachPlayer" \| "target" \| "triggeringPlayer" \| "defendingPlayer" \| "attackingPlayer" \| "activePlayer" \| "re …` | no | Which player(s) — a player selector (default `you`) | | `also` | `"you" \| "controller" \| "abilityController" \| "sourceController" \| "owner" \| "eachOpponent" \| "eachPlayer" \| "target" \| "triggeringPlayer" \| "defendingPlayer" \| "attackingPlayer" \| "activePlayer" \| "re …` | no | CR 121.2c: an additional player in the same draw instruction; deduplicated and performed in APNAP order | | `target` | `TargetDef` | no | What it acts on (TargetDef) | | `amount` | `ValueDef` | yes | How many / how much (integer or ValueDef) | | `upTo` | `boolean` | no | CR 107.1c: "draws up to N cards" — amount is the most each drawing player may draw; each chooses zero through it on resolution | | `reveal` | `boolean` | no | "Draw a card and reveal it" (CR 701.20a): the drawn cards are revealed and become the latest selection for the following clauses ("that card's mana value", "if it's a land card, discard it") | ## Minimal form ```json {"effect":"drawCards","amount":1} ``` The engine reads that minimal form as: “draw a card”. ## Stock examples - **Least Discard Study** — “” ```json {"effect":"drawCards","who":"eachPlayer","amount":{"kind":"playerAggregate","op":"min","value":{"kind":"doneThisWay","of":"discarded","filter":{"owner":"current"}}}} ``` - **Draw Study** — “” ```json {"effect":"drawCards","amount":1} ``` - **Distributed Counter Witness** — “” ```json {"effect":"drawCards","amount":1} ``` ## 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) - [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