# Drawstep engine · Statics & layers · `removeKeyword` > Remove keyword — CR 613.1f: remove this keyword ability in layer 6. 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#removeKeyword ## Where it goes The `effect` of a static ability (or one of its `effects`): `{ "kind": "static", "effect": { "type": "removeKeyword", … } }`. Applied continuously through the layer system. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `to` | `TargetDef` | yes | What it applies to (TargetDef) | | `keyword` | `string` | yes | A plain keyword string ("Flying", "Haste" …) as in `keywords[]` | ## Minimal form ```json {"type":"removeKeyword","to":{"of":"object","mode":"self"},"keyword":"Flying"} ``` The engine reads that minimal form as: “~ loses flying”. ## Stock examples - **Hammer Witness** — “Equipped creature gets +10/+10 and loses flying.” ```json {"type":"removeKeyword","to":{"of":"object","mode":"host"},"keyword":"Flying"} ``` - **Melira, Sylvok Outcast** — “Creatures your opponents control lose infect.” ```json {"type":"removeKeyword","to":{"of":"object","mode":"all","filter":{"types":["Creature"],"controller":"opponent"}},"keyword":"Infect"} ``` ## 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