# Drawstep engine · Effects · `removeTypes` > Remove types — CR 205.1a, 613.1d: a resolving effect removes card types, supertypes or subtypes for a duration ("this creature isn't a creature until end of turn"). 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#removeTypes ## Where it goes One step of an ability's `effects[]` (a spell's, a trigger's, an activated ability's, a mode's): `{ "effect": "removeTypes", … }`. Steps resolve in order. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `target` | `TargetDef` | yes | What it acts on (TargetDef) | | `types` | `string[]` | no | Card types removed ("isn't a creature"); the subtypes only they had go with them (CR 205.1a) | | `supertypes` | `string[]` | no | Supertypes removed ("isn't snow", "is no longer snow") | | `subtypes` | `string[]` | no | Subtypes removed ("isn't a Human") | | `duration` | `Duration` | no | CR 611.2a-b, 702.26f: continuous-effect duration. Conditional source/target filters are ANDed, identities and you are fixed on resolution, and failure ends the effect permanently. untilEndOfYourNextTurn lasts through your next turn's end step and expires at cleanup; whileYourTurn ends when another player becomes active and cannot start on an opponent's turn. untilYourNextEndStep / untilYourNextUpkeep end as that step begins; endOfCombat ends as the end-combat step ends (CR 511.2); endOfAdditionalCombat lasts through the additional combat phase created before it resolved, ending as that combat's end-combat step ends (CR 500.8, 506.1 — "that combat"). untilEvent ends when the described event happens. perpetual survives zone changes | ## Minimal form ```json {"effect":"removeTypes","target":{"of":"object","mode":"chosen","filter":{"types":["Creature"]}}} ``` The engine reads that minimal form as: “target creature is no longer ”. ## Stock examples - **Thermal Flux** — “• Target nonsnow permanent becomes snow until end of turn.” ```json {"effect":"removeTypes","target":{"of":"object","mode":"chosen","filter":{"supertypes":["Snow"]}},"supertypes":["Snow"],"duration":"endOfTurn"} ``` - **Arcum's Weathervane** — “{2}, {T}: Target snow land is no longer snow.” ```json {"effect":"removeTypes","target":{"of":"object","mode":"chosen","filter":{"types":["Land"],"supertypes":["Snow"]}},"supertypes":["Snow"],"duration":"permanent"} ``` - **Weeping Angel** — “Whenever an opponent casts a creature spell, this creature isn't a creature until end of turn.” ```json {"effect":"removeTypes","target":{"of":"object","mode":"self"},"types":["Creature"],"duration":"endOfTurn"} ``` ## 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