# Drawstep engine · Statics & layers · `cantPrevent` > Cant prevent — CR 615.12: damage cannot be prevented while this static is active — all damage, or only the damage `from` / `damageKind` narrow it to. Prevention side effects still occur and finite shields are not depleted. 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#cantPrevent ## Where it goes The `effect` of a static ability (or one of its `effects`): `{ "kind": "static", "effect": { "type": "cantPrevent", … } }`. Applied continuously through the layer system. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `from` | `ObjectFilter` | no | CR 615.12: only damage dealt by sources matching this filter ("damage that would be dealt by this creature can't be prevented": { self: true }) | | `damageKind` | `"combat"` | no | CR 510.2, 615.12: only combat damage ("combat damage that would be dealt by creatures you control can't be prevented") | ## Minimal form ```json {"type":"cantPrevent","damageKind":"combat"} ``` The engine reads that minimal form as: “combat damage can't be prevented”. ## 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