# Drawstep engine · Effects · `spellEntersWith` > Spell enters with — The spell's permanent enters with the specified counters or temporary ability, or enters tapped (CR 614.1c). Amounts are read now, with it = that spell. 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#spellEntersWith ## Where it goes One step of an ability's `effects[]` (a spell's, a trigger's, an activated ability's, a mode's): `{ "effect": "spellEntersWith", … }`. Steps resolve in order. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `target` | `TargetDef` | yes | What it acts on (TargetDef) | | `counters` | `({ counter: string; amount: ValueDef })[]` | no | Counters it enters with: each `{ counter, amount }` | | `additional` | `boolean` | no | Counters in addition to those it would otherwise enter with | | `tapped` | `boolean` | no | Tapped (true) or untapped (false); on an effect that puts something onto the battlefield, it enters tapped | | `keywordUntilNextTurn` | `KeywordAbilityDef` | no | The permanent that this spell becomes enters with this keyword ability until your next turn | ## Minimal form ```json {"effect":"spellEntersWith","target":{"of":"object","mode":"chosen","filter":{"types":["Creature"]}}} ``` The engine reads that minimal form as: “target creature enters ”. ## Stock examples - **Grand Summon Totem** — “{T}: Add one mana of any color. When you next cast a creature spell this turn, that creature enters with two additional +1/+1 counters on it.” ```json {"effect":"spellEntersWith","target":{"of":"object","mode":"triggering"},"counters":[{"counter":"+1/+1","amount":2}],"additional":true} ``` - **Animal Attendant** — “{T}: Add one mana of any color. If that mana is spent to cast a non-Human creature spell, that creature enters with an additional +1/+1 counter on it.” ```json {"effect":"spellEntersWith","target":{"of":"object","mode":"triggering"},"counters":[{"counter":"+1/+1","amount":1}],"additional":true} ``` - **Jade Orb of Dragonkind** — “{T}: Add {G}. When you spend this mana to cast a Dragon creature spell, it enters with an additional +1/+1 counter on it and gains hexproof until your next turn.” ```json {"effect":"spellEntersWith","target":{"of":"object","mode":"triggering"},"counters":[{"counter":"+1/+1","amount":1}],"additional":true} ``` ## 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 - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive