# Sandbox.DamageInfo

Describes the damage that should be done to something. This is purposefully a class
so it can be derived from, allowing games to create their own special types of damage, while
not having to create a whole new system.

- Kind: class
- Namespace: `Sandbox`
- Assembly: `Sandbox.Engine`

## Constructors

- [`DamageInfo`](/api/Sandbox.DamageInfo/.ctor)

## Properties

- [`Attacker`](/api/Sandbox.DamageInfo/Attacker): Usually a player or Npc
- [`Damage`](/api/Sandbox.DamageInfo/Damage): Amount of damage this should do
- [`Hitbox`](/api/Sandbox.DamageInfo/Hitbox): The hitbox that we hit (if any)
- [`IsExplosion`](/api/Sandbox.DamageInfo/IsExplosion): True if this is explosive damage
- [`Origin`](/api/Sandbox.DamageInfo/Origin): The origin of the damage. For bullets this would be the shooter's eye position. For explosions, this would be the center of the exposion.
- [`Position`](/api/Sandbox.DamageInfo/Position): The location of the damage on the hit object.
- [`Shape`](/api/Sandbox.DamageInfo/Shape): The physics shape that we hit (if any)
- [`Tags`](/api/Sandbox.DamageInfo/Tags): Tags for this damage, allows you to enter and read different damage types etc
- [`Weapon`](/api/Sandbox.DamageInfo/Weapon): The weapon that did the damage, or a vehicle etc
