# Drawstep engine · Values · `votes` > Votes — CR 701.38: votes cast in the latest vote of this resolution, for an option or received by a player. 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/values#votes ## Where it goes A number: `{ "kind": "votes", … }` wherever a ValueDef is accepted (`amount`, `power`, `max`, `count` …); a plain integer is also a ValueDef. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `option` | `string` | no | The option label: "the number of truth votes" | | `player` | `"you" \| "controller" \| "abilityController" \| "sourceController" \| "owner" \| "eachOpponent" \| "eachPlayer" \| "target" \| "triggeringPlayer" \| "defendingPlayer" \| "attackingPlayer" \| "activePlayer" \| "re …` | no | Votes the selected player(s) received when players voted for a player: "for each vote you received" | ## Minimal form ```json {"kind":"votes"} ``` The engine reads that minimal form as: “the number of votes”. ## Stock examples - **Mob Verdict** — “Each player secretly votes for another player, then those votes are revealed. For each vote an opponent received, Mob Verdict deals 2 damage to that player and each creature that player controls. For each vote you received, draw a card.” ```json {"kind":"votes","player":"current"} ``` - **Truth or Consequences** — “Each player secretly votes for truth or consequences, then those votes are revealed. You draw cards equal to the number of truth votes. Then choose an opponent at random. Truth or Consequences deals 3 damage to that player for each consequences vote.” ```json {"kind":"votes","option":"truth"} ``` - **Selvala's Stampede** — “Starting with you, each player votes for wild or free. Reveal cards from the top of your library until you reveal a creature card for each wild vote. Put those creature cards onto the battlefield, then shuffle the rest into your library. You may put a permanent card from your hand onto the battlefield for each free vote.” ```json {"kind":"votes","option":"wild"} ``` ## Related - [Values](https://drawstep.xyz/wiki/mtg/values.md) — the whole topic - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive