# Drawstep engine · Effects · `fromOutsideGame` > From outside game — Take a matching card you own from outside the game (sideboard); learn also offers discard-then-draw. 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#fromOutsideGame ## Where it goes One step of an ability's `effects[]` (a spell's, a trigger's, an activated ability's, a mode's): `{ "effect": "fromOutsideGame", … }`. Steps resolve in order. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `filter` | `ObjectFilter` | no | Which objects (ObjectFilter; set fields AND together) | | `destination` | `"battlefield" \| "hand" \| "graveyard" \| "library" \| "exile" \| "stack" \| "command"` | no | Zone the objects are put into | | `optional` | `boolean` | no | "You may": the player may decline | | `learn` | `boolean` | no | Learn: also offer "discard a card, then draw a card" instead of taking a Lesson | | `reveal` | `boolean` | no | CR 400.11, 701.20a: false when the card isn't revealed ("put a card you own from outside the game into your hand"); default true (wishes and learn print "reveal") | ## Minimal form ```json {"effect":"fromOutsideGame"} ``` The engine reads that minimal form as: “put a card you own from outside the game into your hand”. ## Stock examples - **Professor of Symbology** — “When this creature enters, learn.” ```json {"effect":"fromOutsideGame","filter":{"subtypes":["Lesson"]},"learn":true} ``` - **Death Wish** — “You may put a card you own from outside the game into your hand. You lose half your life, rounded up. Exile Death Wish.” ```json {"effect":"fromOutsideGame","destination":"hand","optional":true,"reveal":false} ``` ## 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