# Drawstep engine · Statics & layers · `cantActivate` > Cant activate — CR 602.1b, 606.3: prohibit all, non-mana, mana, or loyalty abilities, or only abilities with {T} in their costs (tap); nonManaNonLoyalty: "aren't mana abilities or loyalty abilities". 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#cantActivate ## Where it goes The `effect` of a static ability (or one of its `effects`): `{ "kind": "static", "effect": { "type": "cantActivate", … } }`. Applied continuously through the layer system. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `to` | `TargetDef` | yes | What it applies to (TargetDef) | | `by` | `"you" \| "controller" \| "abilityController" \| "sourceController" \| "owner" \| "eachOpponent" \| "eachPlayer" \| "target" \| "triggeringPlayer" \| "defendingPlayer" \| "attackingPlayer" \| "activePlayer" \| "re …` | no | CR 602.5, 109.5: players forbidden to activate, independently of who controls the affected source; omitted restricts every player | | `abilities` | `"all" \| "nonMana" \| "nonManaNonLoyalty" \| "mana" \| "loyalty" \| "tap"` | no | Which abilities can't be activated: all, nonMana, mana, loyalty, or {T} abilities | ## Minimal form ```json {"type":"cantActivate","to":{"of":"object","mode":"self"}} ``` The engine reads that minimal form as: “~'s activated abilities can't be activated”. ## Stock examples - **Tap Ban Study** — “” ```json {"type":"cantActivate","to":{"of":"object","mode":"all","filter":{"controller":"opponent"}},"abilities":"tap"} ``` - **Overwhelming Splendor** — “Enchanted player can't activate abilities that aren't mana abilities or loyalty abilities.” ```json {"type":"cantActivate","to":{"of":"object","mode":"all","filter":{},"zones":["battlefield","hand","graveyard","exile","library","command"]},"by":"enchantedPlayer","abilities":"nonManaNonLoyalty"} ``` - **Pithing Needle** — “Activated abilities of sources with the chosen name can't be activated unless they're mana abilities.” ```json {"type":"cantActivate","to":{"of":"object","mode":"all","filter":{"chosenName":true},"zones":["battlefield","hand","graveyard","exile","library","command"]},"abilities":"nonMana"} ``` ## 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