# Drawstep engine · Conditions · `sourceInZone` > Source in zone — CR 113.6, 400.7, 603.4: the same source incarnation remains in the specified zone, optionally owned by a selected 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/conditions#sourceInZone ## Where it goes A condition: `{ "kind": "sourceInZone", … }` — 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 | |---|---|---|---| | `zone` | `"battlefield" \| "hand" \| "graveyard" \| "library" \| "exile" \| "stack" \| "command"` | yes | A zone name (battlefield, hand, graveyard, library, exile, stack, command) | | `owner` | `"you" \| "controller" \| "abilityController" \| "sourceController" \| "owner" \| "eachOpponent" \| "eachPlayer" \| "target" \| "triggeringPlayer" \| "defendingPlayer" \| "attackingPlayer" \| "activePlayer" \| "re …` | no | Whose zone the source must be in | ## Minimal form ```json {"kind":"sourceInZone","zone":"battlefield"} ``` The engine reads that minimal form as: “~ is on the battlefield”. ## Stock examples - **Grave Watch** — “At the beginning of your upkeep, if this card is in your graveyard, you gain 2 life.” ```json {"kind":"sourceInZone","zone":"graveyard","owner":"you"} ``` - **Necrotic Ooze** — “As long as this creature is on the battlefield, it has all activated abilities of all creature cards in all graveyards.” ```json {"kind":"sourceInZone","zone":"battlefield"} ``` - **Trazyn the Infinite** — “Prismatic Gallery — As long as Trazyn is on the battlefield, it has all activated abilities of all artifact cards in your graveyard.” ```json {"kind":"sourceInZone","zone":"battlefield"} ``` ## Related - [Conditions](https://drawstep.xyz/wiki/mtg/conditions.md) — the whole topic - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive