# Drawstep engine · Statics & layers · `cantBlock` > Cant block — Cannot block matching attackers unless the condition holds (CR 509.1b); with alone, can't block alone; with unlessPays, can't block without paying that cost (CR 509.1d). 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#cantBlock ## Where it goes The `effect` of a static ability (or one of its `effects`): `{ "kind": "static", "effect": { "type": "cantBlock", … } }`. Applied continuously through the layer system. Printed words that point here (search aliases): can't block. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `to` | `TargetDef` | yes | What it applies to (TargetDef) | | `attackers` | `ObjectFilter` | no | Which attacking creatures are counted | | `unless` | `ConditionDef` | no | The effect doesn't apply while this condition holds | | `alone` | `boolean` | no | CR 506.5, 509.1b: "can't block alone" — can't be the only creature declared as a blocker this step (every defending player's blockers count); combine with no other field | | `unlessPays` | `CostDef` | no | CR 509.1c-d, 509.1f: a cost to block instead of a ban — "creatures can't block unless their controller pays {1} for each of those creatures" (Archangel of Tithes), "Enchanted creature can't block unless its controller pays {3}" (Oppressive Rays), with attackers "can't block creatures with power 3 or greater unless you pay {1}" (Hipparion): this cost (mana, genericAmount evaluated for this ability's controller, payLife) for each affected creature declared as a blocker (of a matching attacker). The defending player pays the total once the declaration is otherwise legal, or declares again; requirements don't oblige paying. Combine with attackers only | | `perCreatureText` | `"those"` | no | CR 509.1d: render the per-blocker payment as "for each of those creatures"; no rules difference | ## Minimal form ```json {"type":"cantBlock","to":{"of":"object","mode":"self"},"perCreatureText":"those"} ``` The engine reads that minimal form as: “~ can't block”. ## Stock examples - **Restricted Rat Study** — “” ```json {"type":"cantBlock","to":{"of":"object","mode":"self"}} ``` - **Enchantment Condition Study** — “” ```json {"type":"cantBlock","to":{"of":"object","mode":"self"}} ``` - **Graveyard Condition Study** — “” ```json {"type":"cantBlock","to":{"of":"object","mode":"self"},"unless":{"kind":"anyOpponent","condition":{"kind":"compare","a":{"kind":"count","zone":"graveyard","player":"you"},"op":">=","b":8}}} ``` ## 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