# Drawstep engine · Conditions · `revealedToCast` > Revealed to cast — CR 601.2b, 601.2f: the optional additional cost "reveal a [filter] card from your hand" was paid for this spell ("you revealed a Dragon 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/conditions#revealedToCast ## Where it goes A condition: `{ "kind": "revealedToCast", … }` — in an `if` effect, a trigger's `condition` (intervening if), a static's `condition` ("as long as"), an activated ability's `onlyIf`, a replacement's `unless`. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `filter` | `ObjectFilter` | no | Which objects (ObjectFilter; set fields AND together) | ## Minimal form ```json {"kind":"revealedToCast"} ``` The engine reads that minimal form as: “you revealed a card”. ## Related - [Conditions](https://drawstep.xyz/wiki/mtg/conditions.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