# Drawstep engine · Effects · `castAsFlash` > Cast as flash — CR 702.8 / 611.2a: for the duration (default until end of turn), cast matching spells as though they had flash. 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#castAsFlash ## Where it goes One step of an ability's `effects[]` (a spell's, a trigger's, an activated ability's, a mode's): `{ "effect": "castAsFlash", … }`. Steps resolve in order. Printed words that point here (search aliases): as though they had flash until your next turn you may cast sorcery spells. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `who` | `"you" \| "controller" \| "abilityController" \| "sourceController" \| "owner" \| "eachOpponent" \| "eachPlayer" \| "target" \| "triggeringPlayer" \| "defendingPlayer" \| "attackingPlayer" \| "activePlayer" \| "re …` | no | Which player(s) — a player selector (default `you`) | | `filter` | `ObjectFilter` | no | Which objects (ObjectFilter; set fields AND together) | | `once` | `boolean` | no | Consumed by the next matching cast, even at normal timing | | `duration` | `"endOfTurn" \| "untilYourNextTurn"` | no | CR 611.2a: endOfTurn (default) = "this turn"; untilYourNextTurn = "Until your next turn, you may cast sorcery spells as though they had flash" (Teferi, Time Raveler) | ## Minimal form ```json {"effect":"castAsFlash"} ``` The engine reads that minimal form as: “you may cast spells this turn as though they had flash”. ## Stock examples - **Quicken** — “” ```json {"effect":"castAsFlash","filter":{"types":["Sorcery"]},"once":true} ``` - **Scout's Warning** — “” ```json {"effect":"castAsFlash","filter":{"types":["Creature"]},"once":true} ``` - **Sorcery Window** — “You may cast sorcery spells this turn as though they had flash.” ```json {"effect":"castAsFlash","filter":{"types":["Sorcery"]}} ``` ## 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