# Sandbox.BaseCombatWeapon.IHolder

Something that holds and fires weapons. A component above the weapon in the hierarchy implements it,
as [Sandbox.PlayerController](/api/Sandbox.PlayerController) does, to give the weapon a body, an aim and someone to credit.

## Remarks

The holder keeps its weapons in a [Sandbox.BaseInventoryComponent](/api/Sandbox.BaseInventoryComponent), which seeds their magazines, holds
their reserve and deploys and drops them. The view model, the HUD and the camera hooks are for a holding
player only.

- Kind: interface
- Assembly: `Sandbox.Engine`
- Modifiers: abstract

## Properties

- [`GameObject`](/api/Sandbox.BaseCombatWeapon.IHolder/GameObject): The GameObject credited for the weapon's damage and ignored by its traces.
- [`Renderer`](/api/Sandbox.BaseCombatWeapon.IHolder/Renderer): The body renderer the weapon's world model attaches to.

## Methods

- [`CalculateAimRay`](/api/Sandbox.BaseCombatWeapon.IHolder/CalculateAimRay): Where the holder is aiming `weapon`.
