# Drawstep engine · Statics & layers · `setTypes` > Set types — CR 205.1a-b, 205.3c, 613.1d: replace the specified card types or subtype family; associated subtypes of lost card types are also lost. 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/statics#setTypes ## Where it goes The `effect` of a static ability (or one of its `effects`): `{ "kind": "static", "effect": { "type": "setTypes", … } }`. Applied continuously through the layer system. Printed words that point here (search aliases): is a mountain forest nonbasic lands are are the chosen type conspiracy. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `to` | `TargetDef` | yes | What it applies to (TargetDef) | | `fromLastLinkedCreature` | `boolean` | no | Replace creature types with those of the last creature card still exiled with this source, together with any listed subtypes (CR 205.3m, 607.2a) | | `subtypeKind` | `"creatureType" \| "basicLandType"` | no | Replace only this subtype family, preserving subtypes of other card types (CR 205.1b, 305.7) | | `types` | `string[]` | no | Card types, e.g. ["Artifact", "Creature"] | | `subtypes` | `string[]` | no | Subtypes, e.g. ["Elf", "Warrior"] | | `chosenSubtype` | `boolean \| string` | no | CR 205.3, 613.1d: the subtypes become the creature type chosen for the source (Conspiracy: "are the chosen type"); true reads creatureType, a string names its key. Nothing changes until a type is chosen | ## Minimal form ```json {"type":"setTypes","to":{"of":"object","mode":"self"}} ``` The engine reads that minimal form as: “~ is (no types) (and loses its other types)”. ## Stock examples - **Island Witness** — “Enchanted land is an Island.” ```json {"type":"setTypes","to":{"of":"object","mode":"host"},"subtypeKind":"basicLandType","subtypes":["Island"]} ``` - **Blood Moon** — “Nonbasic lands are Mountains.” ```json {"type":"setTypes","to":{"of":"object","mode":"all","filter":{"types":["Land"],"notSupertypes":["Basic"]}},"subtypes":["Mountain"]} ``` - **Arixmethes, Slumbering Isle** — “As long as Arixmethes has a slumber counter on it, it's a land.” ```json {"type":"setTypes","to":{"of":"object","mode":"self"},"types":["Land"],"subtypes":[]} ``` ## Related - [Statics & layers](https://drawstep.xyz/wiki/mtg/statics.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