# Drawstep engine · Values · `var` > Var — e.g. “Token”. 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#var ## Where it goes A number: `{ "kind": "var", … }` wherever a ValueDef is accepted (`amount`, `power`, `max`, `count` …); a plain integer is also a ValueDef. Printed words that point here (search aliases): x variable. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `name` | `string` | yes | Announced variable; lifeLostThisWay, damageDealtThisWay and countersRemovedThisWay read the actual total of the preceding corresponding instruction after replacements/prevention, including redirected damage (CR 119.3, 120.4, 122.2, 608.2h); targetSpellManaValue is the mana value of the target spell of the preceding counterSpell / counterUnlessPays as it last existed on the stack, X included, also when it couldn't be countered (kept by a later delayed trigger: "that spell's mana value", CR 202.3e, 608.2h) | ## Minimal form ```json {"kind":"var","name":"Token"} ``` The engine reads that minimal form as: “Token”. ## Stock examples - **Hydra Broodmaster** — “{X}{X}{G}: Monstrosity X.” ```json {"kind":"var","name":"X"} ``` - **Variable Tap Witness** — “” ```json {"kind":"var","name":"X"} ``` - **Energy Payment Witness** — “” ```json {"kind":"var","name":"X"} ``` ## 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