# Interface: Tileset

Defined in: [tilemap.ts:21](https://github.com/debuffjp/debuff/blob/4f0ae1091cc5ab837e28b1efc93d4aed7342f621/packages/tilemap/src/tilemap.ts#L21)

## Properties

### columns

> **columns**: `number`

Defined in: [tilemap.ts:28](https://github.com/debuffjp/debuff/blob/4f0ae1091cc5ab837e28b1efc93d4aed7342f621/packages/tilemap/src/tilemap.ts#L28)

***

### count

> **count**: `number`

Defined in: [tilemap.ts:29](https://github.com/debuffjp/debuff/blob/4f0ae1091cc5ab837e28b1efc93d4aed7342f621/packages/tilemap/src/tilemap.ts#L29)

***

### firstId

> **firstId**: `number`

Defined in: [tilemap.ts:23](https://github.com/debuffjp/debuff/blob/4f0ae1091cc5ab837e28b1efc93d4aed7342f621/packages/tilemap/src/tilemap.ts#L23)

First tile id (gid) this tileset covers. Tile id 0 always means "empty".

***

### image

> **image**: [`ImageRegion`](ImageRegion.md) \| [`TextureSource`](../../../spryte/type-aliases/TextureSource.md)

Defined in: [tilemap.ts:25](https://github.com/debuffjp/debuff/blob/4f0ae1091cc5ab837e28b1efc93d4aed7342f621/packages/tilemap/src/tilemap.ts#L25)

The tileset image, or a region of an atlas holding it.

***

### margin?

> `optional` **margin?**: `number`

Defined in: [tilemap.ts:30](https://github.com/debuffjp/debuff/blob/4f0ae1091cc5ab837e28b1efc93d4aed7342f621/packages/tilemap/src/tilemap.ts#L30)

***

### properties?

> `optional` **properties?**: `Record`\<`number`, `Record`\<`string`, `unknown`\>\>

Defined in: [tilemap.ts:33](https://github.com/debuffjp/debuff/blob/4f0ae1091cc5ab837e28b1efc93d4aed7342f621/packages/tilemap/src/tilemap.ts#L33)

Per local tile index: custom properties (e.g. `solid`, `oneWay`).

***

### spacing?

> `optional` **spacing?**: `number`

Defined in: [tilemap.ts:31](https://github.com/debuffjp/debuff/blob/4f0ae1091cc5ab837e28b1efc93d4aed7342f621/packages/tilemap/src/tilemap.ts#L31)

***

### tileHeight

> **tileHeight**: `number`

Defined in: [tilemap.ts:27](https://github.com/debuffjp/debuff/blob/4f0ae1091cc5ab837e28b1efc93d4aed7342f621/packages/tilemap/src/tilemap.ts#L27)

***

### tileWidth

> **tileWidth**: `number`

Defined in: [tilemap.ts:26](https://github.com/debuffjp/debuff/blob/4f0ae1091cc5ab837e28b1efc93d4aed7342f621/packages/tilemap/src/tilemap.ts#L26)
