# Drawstep engine · Effects · `removeFromCombat` > Remove from combat — CR 506.4: remove the selected creatures from combat — they stop attacking / blocking (a blocked attacker stays blocked), deal and receive no combat damage this combat. 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#removeFromCombat ## Where it goes One step of an ability's `effects[]` (a spell's, a trigger's, an activated ability's, a mode's): `{ "effect": "removeFromCombat", … }`. Steps resolve in order. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `target` | `TargetDef` | yes | What it acts on (TargetDef) | ## Minimal form ```json {"effect":"removeFromCombat","target":{"of":"object","mode":"chosen","filter":{"types":["Creature"]}}} ``` The engine reads that minimal form as: “remove target creature from combat”. ## Stock examples - **Illusionist's Gambit** — “Remove all attacking creatures from combat and untap them. After this phase, there is an additional combat phase. Each of those creatures attacks that combat if able. They can't attack you or planeswalkers you control that combat.” ```json {"effect":"removeFromCombat","target":{"of":"object","mode":"all","filter":{"types":["Creature"],"attacking":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) - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive