# Sandbox.BaseCombatWeapon.CanPrimaryAttack

```csharp
bool CanPrimaryAttack()
```

Can primary fire right now? Base checks the cooldown, that we're not mid-reload, and that
there's ammo. A pure check, safe to call from HUDs - the trigger dry-fires on empty, not this.
Override to add conditions.

### Returns

`bool`

Declared in [Sandbox.BaseCombatWeapon](/api/Sandbox.BaseCombatWeapon).
Assembly: `Sandbox.Engine`.
