# Sandbox.Component.IDamageable.MaxHealth

```csharp
float MaxHealth { get; set; }
```

The most health this normally has, which healing should stop at. 0 means it has no health that others
can read or restore, which callers check before they use [Sandbox.Component.IDamageable.Health](/api/Sandbox.Component.IDamageable/Health). An object can carry
several damageables, such as one that only forwards damage, so look for the one that has a maximum.

A class's own public `float MaxHealth` getter implements this implicitly, under the same rules
as [Sandbox.Component.IDamageable.Health](/api/Sandbox.Component.IDamageable/Health).

Declared in [Sandbox.Component.IDamageable](/api/Sandbox.Component.IDamageable).
Assembly: `Sandbox.Engine`.
