# SetColliderType(Vector3Int, ColliderType)

> Sets the Collider type of a Tile given the XYZ coordinates of a cell in the Tilemap.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Tilemaps](/engine/6000.0/script-reference/unityengine/tilemaps.md)
* **Assembly:** UnityEngine.TilemapModule

```csharp
public void SetColliderType(Vector3Int position, Tile.ColliderType colliderType)
```

### Parameters

**** (\[Vector3Int]\(/engine/6000.0/script-reference/unityengine/vector3int)): Position of the Tile on the [Tilemap](/engine/6000.0/script-reference/unityengine/tilemaps/tilemap.md).**** (\[ColliderType]\(/engine/6000.0/script-reference/unityengine/tilemaps/tile/collidertype)): Collider type to set the [Tile](/engine/6000.0/script-reference/unityengine/wsa/tile.md) to at the XYZ coordinate.

### Remarks

Refer to Scriptable Tiles and Tilemap for more information.
