# Hitbox

> An unseen shape around a thing. The game checks it for touches.

**Field:** Software Development  
**Category:** Game Development  
**Also known as:** Hit Box, Hurtbox, Collider, Collision Box

## Think of it like

Think of it like a cardboard box around a toy. The game only looks at the box.

## Definition

A hitbox is an unseen shape around a game object that the game uses to check for touches. It is usually a box or a circle, simpler than the picture. If two hitboxes overlap, the game counts a hit. Some games use a hurtbox for where a player can be hit and a hitbox for what does the hitting.

## Example

Players say Emma's game is unfair. She makes the hero's hitbox a little smaller than his picture, and it feels better.

## Why it matters

How a hitbox is sized decides whether a game feels fair. Players notice when it is off.

## Common mistake

Making it the same size as the picture. A box a bit smaller feels more fair.

## Three principles

- **Unseen.** Players see the picture, not the box.
- **Simple shape.** A box or circle is fast to test.
- **Sized for feel.** A bit smaller often feels fair.

## Related terms

- [Collision Detection](https://learn.benibix.com/term/development/collision-detection)
- [Physics Engine](https://learn.benibix.com/term/development/physics-engine)
- [Game Sprite](https://learn.benibix.com/term/development/sprite)
- [Game Object](https://learn.benibix.com/term/development/game-object)

## Told apart from

- [Sprite vs Hitbox](https://learn.benibix.com/compare/sprite-vs-hitbox): People think a game checks hits against the picture you see, and it does not. The sprite is only what gets drawn. The hitbox is a simple unseen shape around it, and the game tests touches with that. A hero's hitbox is often smaller than its sprite, so a spike that grazes its hair does not count. That is what makes a game feel fair.

![Two panels. On the left, Apart, no collision: a large circle and a small circle, each inside a dashed box, far from each other, with a note that the dashed boxes are hitboxes. On the right, Overlap, collision, lit up: the two dashed boxes overlap in a shaded strip, and an arrow leads to lose a life. A note says a physics engine then decides how the two things bounce, slide or stop.](https://learn.benibix.com/diagrams/dev2-collision.svg)

---

Source: https://learn.benibix.com/term/development/hitbox
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
