# Drawstep engine · Effects · `moveTo` > Move to — e.g. “put target creature onto the battlefield”. 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#moveTo ## Where it goes One step of an ability's `effects[]` (a spell's, a trigger's, an activated ability's, a mode's): `{ "effect": "moveTo", … }`. Steps resolve in order. Printed words that point here (search aliases): return to the battlefield reanimate put onto the battlefield put on top of library graveyard to hand. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `target` | `TargetDef` | yes | What it acts on (TargetDef) | | `destination` | `"battlefield" \| "hand" \| "graveyard" \| "library" \| "exile" \| "stack" \| "command"` | yes | Zone the objects are put into | | `position` | `"top" \| "bottom" \| { fromTop: any } \| { chooser: "owner" \| "you"; options?: any[]; each?: boolean }` | no | Exact placement in a library, including third from the top (CR 401.4, 401.7); { chooser } asks that player for top or bottom on resolution ("its owner puts it on their choice of the top or bottom of their library", CR 608.2d) | | `order` | `"chosen" \| "random"` | no | Order only the moved group within each owner's library, not the whole deck. Omitted: owner chooses (CR 401.4) | | `tapped` | `boolean` | no | Tapped (true) or untapped (false); on an effect that puts something onto the battlefield, it enters tapped | | `andSelf` | `boolean` | no | The source moves together with the selected objects (CR 608.2c): "Return ~ and another target creature to their owners' hands" | | `attachedTo` | `TargetDef` | no | Enter attached to this object (CR 303.4f, 701.3), before enters triggers | | `attacking` | `boolean \| "defendingPlayer"` | no | Enter attacking without attack triggers or implicit tapping; optionally fixed to the defending player (CR 508.4) | | `controller` | `"you" \| "owner" \| "opponent"` | no | Who controls it on the battlefield: you (default), its owner, or an opponent you choose as the effect resolves (CR 608.2d) | | `withCounters` | `{ counter: string; amount: ValueDef; filter?: ObjectFilter } \| object[]` | no | Each selected permanent enters with these additional counters, before enters triggers (CR 122.6, 614.12) | | `faceDown` | `boolean \| "choose"` | no | CR 708.2, 608.2d: choose face up or face down for each card as it enters | | `transformed` | `boolean` | no | Onto the battlefield back face up: a transform card enters transformed (CR 712.14a); a custom modal double-faced card enters as its back face ("return Juiblex from the graveyard to the battlefield" on the back of a modal card). Without it a double-faced card enters front face up | | `link` | `boolean` | no | Link the moved cards to the source (CR 607.2a): later abilities of the source refer to them with `mode: "linked"` / filter `linkedToSource` | | `as` | `EffectDef[]` | no | Continuous effects applied to each permanent as it enters, before it chooses what to enchant and before enters triggers (CR 303.4f, 611.2a): "It's an Aura enchantment with enchant creature you control and '…' and it loses all other abilities" — the entering permanent is { mode: "affected" }; use permanent durations | ## Minimal form ```json {"effect":"moveTo","target":{"of":"object","mode":"chosen","filter":{"types":["Creature"]}},"destination":"battlefield"} ``` The engine reads that minimal form as: “put target creature onto the battlefield”. ## Stock examples - **Cohort Return** — “” ```json {"effect":"moveTo","target":{"of":"object","mode":"all","zone":"graveyard","filter":{"owner":"you","name":"Cohort Merfolk"}},"destination":"battlefield"} ``` - **Iter62 Reanimate** — “” ```json {"effect":"moveTo","target":{"of":"object","mode":"chosen","zone":"graveyard","filter":{"types":["Creature"]}},"destination":"battlefield","tapped":true} ``` - **Shuffle Hand Witness** — “” ```json {"effect":"moveTo","target":{"of":"object","mode":"choose","zone":"hand","filter":{"owner":"you"},"player":"you"},"destination":"library"} ``` ## 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) - [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