# Drawstep engine · Abilities · `openingHand` > Opening hand — CR 103.6: offered to each player in turn order once every hand is kept, for each such card in their hand: the Leylines, Gemstone Caverns, the Chancellors. 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/abilities#openingHand ## Where it goes One entry of `abilities[]`: `{ "kind": "openingHand", … }`. Printed words that point here (search aliases): if this card is in your opening hand you may begin the game with it on the battlefield reveal this card from your opening hand leyline gemstone caverns chancellor. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `name` | `string` | no | Ability word / name of this opening-hand action | | `action` | `"battlefield" \| "reveal" \| "exile"` | no | battlefield (default): "you may begin the game with it on the battlefield"; reveal: "you may reveal this card from your opening hand" (then usually a delayedTrigger); exile: "If this card is in your opening hand, you may exile it" | | `condition` | `ConditionDef` | no | Read when the choice is offered ("if you're not the starting player" = { kind: "not", condition: { kind: "startingPlayer" } }) | | `counters` | `{ counter: string; amount: ValueDef }` | no | It begins the game on the battlefield with these counters (Gemstone Caverns' luck counter) | | `then` | `EffectDef[]` | no | Effects that follow right away ("If you do, exile a card from your hand"); this card is their source | ## Minimal form ```json {"kind":"openingHand"} ``` The engine reads that minimal form as: “If this card is in your opening hand, you may begin the game with it on the battlefield.”. ## Stock examples - **Leyline of Resonance** — “If this card is in your opening hand, you may begin the game with it on the battlefield.” ```json {"kind":"openingHand"} ``` - **Sphinx of Foresight** — “You may reveal this card from your opening hand. If you do, scry 3 at the beginning of your first upkeep.” ```json {"kind":"openingHand","action":"reveal","then":[{"effect":"delayedTrigger","trigger":{"event":"upkeep","by":"you"},"effects":[{"effect":"scry","who":"you","amount":3}]}]} ``` - **Chancellor of the Forge** — “You may reveal this card from your opening hand. If you do, at the beginning of the first upkeep, create a 1/1 red Phyrexian Goblin creature token with haste.” ```json {"kind":"openingHand","action":"reveal","then":[{"effect":"delayedTrigger","trigger":{"event":"upkeep","by":"any"},"effects":[{"effect":"createToken","who":"you","token":{"name":"Phyrexian Goblin","types":["Creature"],"subtypes":["Phyrexian","Goblin"],"colors":["R"],"power":1,"toughness":1,"keywords":["Haste"]},"amount":1}]}]} ``` ## Related - [Abilities](https://drawstep.xyz/wiki/mtg/abilities.md) — the whole topic - [Values](https://drawstep.xyz/wiki/mtg/values.md) — every number kind an `amount` accepts - [Effects](https://drawstep.xyz/wiki/mtg/effects.md) — the steps a nested `effects` / `then` list may contain - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive