# Drawstep engine · Effects · `choose` > Choose — Announce a legal choice while resolving; available to every later effect of this ability (CR 608.2c-d). 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#choose ## Where it goes One step of an ability's `effects[]` (a spell's, a trigger's, an activated ability's, a mode's): `{ "effect": "choose", … }`. Steps resolve in order. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `excludeExisting` | `boolean` | no | CR 122.1, 608.2d: counterKind chooses from explicit options absent from target, instead of existing counters on target | | `startingWithYou` | `boolean` | no | CR 101.4, 608.2d: choose in turn order starting with the ability controller, rather than the active player | | `different` | `boolean` | no | CR 608.2d: with several choosers (kind object), each chooses an object no earlier chooser chose — "that hasn't been chosen", "a different card" | | `secret` | `boolean` | no | CR 101.4: keep choices private until reveal | | `selections` | `TargetDef[]` | no | CR 608.2d: each player makes these selections in order, then the next player chooses | | `opponentsOnly` | `boolean` | no | A player choice must be an opponent of the ability controller (CR 102.2, 608.2d) | | `chooseAtRandom` | `boolean` | no | Choose one member of the selected set uniformly at random (CR 608.2c) | | `from` | `ObjectFilter` | no | Choose only colors of matching objects (CR 105.1, 608.2d) | | `zone` | `"battlefield" \| "hand" \| "graveyard" \| "library" \| "exile" \| "stack" \| "command"` | no | Zone containing the color sources; defaults to battlefield (CR 400.1) | | `excludePreviouslyChosen` | `boolean` | no | Exclude earlier values chosen by this source object; reset on zone changes (CR 608.2d, 400.7) | | `options` | `string[]` | no | Explicit legal values, such as a printed list of card names (CR 608.2d) | | `exclude` | `string[]` | no | Forbidden choice values; colors use W/U/B/R/G codes (CR 608.2d) | | `kind` | `"object" \| "option" \| "counterKind" \| "creatureType" \| "color" \| "cardName" \| "basicLandType" \| "landType" \| "cardType" \| "landNonland" \| "oddEven" \| "number" \| "player"` | yes | CR 608.2d: option selects one of the explicit named options; collect retains each player's answer. landType: any land type (CR 205.3i); exclude the five basic types for "a nonbasic land type" | | `key` | `string` | no | Storage key; defaults to kind | | `label` | `string` | no | Prompt shown to the chooser | | `min` | `number` | no | Fewest selections | | `max` | `number` | no | Most selections | | `filter` | `{ types?: string[]; notTypes?: string[]; anyTypes?: string[] }` | no | Printed card-type restrictions on a card name, such as nonland (CR 201.4a) | | `who` | `"you" \| "controller" \| "abilityController" \| "sourceController" \| "owner" \| "eachOpponent" \| "eachPlayer" \| "target" \| "triggeringPlayer" \| "defendingPlayer" \| "attackingPlayer" \| "activePlayer" \| "re …` | no | Chooser; defaults to controller. When given, the chooser is also the selection's current player (player/controller/owner "current" read as theirs: each player picks from their own graveyard). When omitted the controller chooses and "current" keeps its outer binding — inside forEachPlayer the iterated player ("for each opponent, choose a permanent that player controls": you pick among that opponent's permanents) | | `target` | `TargetDef` | no | kind object records a selection; counterKind reads counters on this object or player; otherwise this is the chooser player target (CR 601.2c, 608.2d, 122.1) | | `inline` | `boolean` | no | Printed within the following effect as of your choice; still a resolution-time choice (CR 608.2d) | | `remember` | `boolean` | no | Also retain on the source for linked later abilities (CR 607.2d); otherwise local to this resolution | | `collect` | `boolean` | no | With several choosers (who: eachPlayer), keep every player's choice: a chosenSubtype filter reading this key matches any of them — "of a type chosen this way" (CR 608.2d). Local to this resolution | | `revealAs` | `"simultaneous" \| "plain"` | no | With secret collected answers (kind number, who eachPlayer), how they are revealed. simultaneous (default): all players reveal them at once and the highest and lowest are determined (Wheel of Misfortune). plain: the printed "then those numbers are revealed" with no further reveal (Menacing Ogre). Rules-neutral wording; CR 101.4 | ## Minimal form ```json {"effect":"choose","kind":"object"} ``` The engine reads that minimal form as: “choose target permanent”. ## Stock examples - **Hydroblast** — “• Counter target spell if it's red.” ```json {"effect":"choose","kind":"object","target":{"of":"spell","mode":"chosen"}} ``` - **Pyroblast** — “• Counter target spell if it's blue.” ```json {"effect":"choose","kind":"object","target":{"of":"spell","mode":"chosen"}} ``` - **Pyroblast** — “• Counter target spell if it's blue.” ```json {"effect":"choose","kind":"object","target":{"of":"spell","mode":"chosen"}} ``` ## 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) - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive