# PRIM_DAMAGE

*LSL constant*

```lsl
integer PRIM_DAMAGE = 51;
```

Prim parameter used to get or set the damage amount and damage type delivered by the prim on collision.

Constant groups: [PrimParam](/constants/groups/PrimParam/), [PrimParamGet](/constants/groups/PrimParamGet/)

Sets the damage amount and damage type delivered by a prim on collision.

## Caveats

- Collideable damage as set via [llSetDamage](/functions/llSetDamage/), [PRIM_DAMAGE](/constants/PRIM_DAMAGE/), and [REZ_DAMAGE](/constants/REZ_DAMAGE/) is limited to 100 maximum

## See also

### Constants

- [REZ_DAMAGE](/constants/REZ_DAMAGE/)
- [REZ_DAMAGE_TYPE](/constants/REZ_DAMAGE_TYPE/)
- [OBJECT_DAMAGE](/constants/OBJECT_DAMAGE/)
- [OBJECT_DAMAGE_TYPE](/constants/OBJECT_DAMAGE_TYPE/)

### Functions

- [llSetDamage](/functions/llSetDamage/)
- [llGetPrimitiveParams](/functions/llGetPrimitiveParams/)
- [llGetLinkPrimitiveParams](/functions/llGetLinkPrimitiveParams/)

### Articles

- [Combat2](https://wiki.secondlife.com/wiki/Category:LSL_Combat2)

---

*Source: [PRIM DAMAGE](https://wiki.secondlife.com/wiki/PRIM_DAMAGE) on the Second Life Wiki. Content from the Second Life Wiki article PRIM DAMAGE (revision 1217130, 2024-08-14), CC BY-SA 3.0.*

---

From lsl.dev: https://lsl.dev/constants/PRIM_DAMAGE/
