# Sandbox.Gizmo.GizmoHitbox

Contains functions to add objects to the immediate mode Scene. This
is an instantiable class so it's possible to add extensions.

- Kind: class
- Assembly: `Sandbox.Engine`
- Modifiers: sealed

## Properties

- [`CanInteract`](/api/Sandbox.Gizmo.GizmoHitbox/CanInteract): Whether or not drawn gizmos can be interacted with. Only affects gizmos in the current scope.
- [`Debug`](/api/Sandbox.Gizmo.GizmoHitbox/Debug)
- [`DepthBias`](/api/Sandbox.Gizmo.GizmoHitbox/DepthBias)

## Methods

- [`AddPotentialLine`](/api/Sandbox.Gizmo.GizmoHitbox/AddPotentialLine): If we're in a hitbox linescope we'll distance this test vs the current ray. If not, we'll return immediately. This is automatically called when rendering lines
- [`BBox`](/api/Sandbox.Gizmo.GizmoHitbox/BBox): A bounding box hitbox
- [`Circle`](/api/Sandbox.Gizmo.GizmoHitbox/Circle): A 2d circle hitbox, on a plane
- [`LineScope`](/api/Sandbox.Gizmo.GizmoHitbox/LineScope): Start a line scope. Any drawn lines should become a hitbox during this scope.
- [`Model`](/api/Sandbox.Gizmo.GizmoHitbox/Model): A model hitbox
- [`Sphere`](/api/Sandbox.Gizmo.GizmoHitbox/Sphere): A sphere hitbox
- [`Sprite`](/api/Sandbox.Gizmo.GizmoHitbox/Sprite): A 2d sprite hitbox
- [`TrySetHovered`](/api/Sandbox.Gizmo.GizmoHitbox/TrySetHovered): If this distance is closer than our previous best, this path will become the hovered path
