# Collider Component Overview

## Overview

Primitives (shapes) usually have a Collider component by default based on their shape, but you will need to add them to other objects (including empty ones) if needed.

![Example of a Box Collider component in the Inspector Tab](https://3795241431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8XSUYVSlHMdPUNud-2%2F-MA5srV7ai4M9iOei0yt%2F-MA5tcHEi9CQ-YID75Fw%2Fimage.png?alt=media\&token=71e1d588-7c52-4f11-ac07-b4895fd6189c)

## Editing the Collider

Click on the **Edit Collider** button to make the collider and handers visible in the Scene window.

![](https://3795241431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8XSUYVSlHMdPUNud-2%2F-MA5srV7ai4M9iOei0yt%2F-MA5vHj6ao-G9D7Pvcpj%2Fimage.png?alt=media\&token=ef602da9-0f3e-48b3-a898-011e767e6a91)

Click and drag the green dots to adjust the size and shape or type in the values within the component in the Inspector.

![](https://3795241431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8XSUYVSlHMdPUNud-2%2F-MEoSIDnfmxa2Xef6Odc%2F-MEoThr0TaEFKL6wQZGN%2FColliders_01.gif?alt=media\&token=f41a0430-6028-4b18-bfff-caa2df0d4570)

![Example of a collider without a visible object](https://3795241431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8XSUYVSlHMdPUNud-2%2F-MA5srV7ai4M9iOei0yt%2F-MA5w4giiCMjEOW3y6L3%2Fimage.png?alt=media\&token=fb58acd6-dc0b-4e28-b1bd-bcaf6a44613d)

## Triggers

By default, the collider makes the object be treated as a solid object. Although the default shape and size are the same as the game object, this can be made larger and exist without the mesh, so objects will hit the collider and not go through.

Checking the Is Trigger checkbox turns the collider into a trigger, meaning other objects can go through the boundaries, but it can trigger other events.

{% content-ref url="accessing-through-code" %}
[accessing-through-code](accessing-through-code)
{% endcontent-ref %}

## Physic Materials

When you [create a Physic Material asset](../../create/create-assets), you can adjust the Bounciness and Friction of the collider.

![What appears in the Inspector Tab when a Phsyic Material is selected](https://3795241431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8XSUYVSlHMdPUNud-2%2F-MA5wOor4TVgQzxfuWqe%2F-MA5wqgwt0lbfOF3BtRZ%2Fimage.png?alt=media\&token=19319b67-1b89-49fe-8b3a-20eb4427adee)

The Physic Material can be added to the Collider once it's made. Play around with the settings to get the effect you want.
