# Sandbox.BaseCombatWeapon.FirePrimary

```csharp
bool FirePrimary()
```

Pull the primary trigger - fires if [Sandbox.BaseCombatWeapon.CanPrimaryAttack](/api/Sandbox.BaseCombatWeapon/CanPrimaryAttack) allows, putting it on
cooldown. Returns whether it fired. The way to shoot from code (AI, turrets) - calling
[Sandbox.BaseCombatWeapon.PrimaryAttack](/api/Sandbox.BaseCombatWeapon/PrimaryAttack) directly skips the fire rate. Runs on whoever controls the
weapon; the attack doesn't re-run on the host.

### Returns

`bool`

Declared in [Sandbox.BaseCombatWeapon](/api/Sandbox.BaseCombatWeapon).
Assembly: `Sandbox.Engine`.
