# Drawstep engine · Statics & layers · `cantEnterBattlefield` > Cant enter battlefield — CR 101.2, 400.3: cards matching the filter in these zones can't enter the battlefield ("Creature cards in graveyards and libraries can't enter the battlefield", Grafdigger's Cage): an effect that would put one there does nothing to it, and such a land card can't be played. Spells cast from there enter from the stack, unaffected. 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#cantEnterBattlefield ## Where it goes The `effect` of a static ability (or one of its `effects`): `{ "kind": "static", "effect": { "type": "cantEnterBattlefield", … } }`. Applied continuously through the layer system. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `filter` | `ObjectFilter` | no | The cards that can't enter, judged as they exist in their zone | | `zones` | `("battlefield" \| "hand" \| "graveyard" \| "library" \| "exile" \| "stack" \| "command")[]` | yes | The zones they can't enter the battlefield from ("in graveyards and libraries") | ## Minimal form ```json {"type":"cantEnterBattlefield","zones":[]} ``` The engine reads that minimal form as: “cards in can't enter the battlefield”. ## 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