# Drawstep engine · Values · `asCast` > As cast — CR 601.2i, 608.2h: the inner value as it stood when this spell became cast ("where X is the number of creatures on the battlefield as you cast this spell"); recorded as casting completes, 0 for an object that wasn't cast; a copy inherits it (CR 707.10). 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#asCast ## Where it goes A number: `{ "kind": "asCast", … }` wherever a ValueDef is accepted (`amount`, `power`, `max`, `count` …); a plain integer is also a ValueDef. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `value` | `ValueDef` | yes | The value to store or compare | ## Minimal form ```json {"kind":"asCast","value":1} ``` The engine reads that minimal form as: “1 as you cast this spell”. ## Related - [Values](https://drawstep.xyz/wiki/mtg/values.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