# Sandbox.Npcs.BaseNpc.IsLiveTarget

```csharp
static bool IsLiveTarget(GameObject go)
```

Whether something can be hurt right now: it has an enabled [Sandbox.Component.IDamageable](/api/Sandbox.Component.IDamageable) on an active
GameObject, on itself or below. NPCs only sense and attack live targets, so a dead player that stays in
the world, or anything that takes no damage, is left alone.

### Parameters

- `go` (`GameObject`)

### Returns

`bool`

Declared in [Sandbox.Npcs.BaseNpc](/api/Sandbox.Npcs.BaseNpc).
Assembly: `Sandbox.Engine`.
