# Interface: FromTiledOptions

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

## Properties

### collisionLayers?

> `optional` **collisionLayers?**: `string`[]

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

Collision. By default: tiles with a `solid`/`collides`/`oneWay` property in any layer, plus every
tile in layers whose `collision` property is true. Pass layer names to use those layers instead.

***

### image

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

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

Resolve a tileset image path (as written in the map or tileset) to a loaded image.

#### Parameters

##### path

`string`

##### tileset

[`TiledTileset`](TiledTileset.md)

#### Returns

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

***

### tilesets?

> `optional` **tilesets?**: `Record`\<`string`, [`TiledTileset`](TiledTileset.md)\>

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

External tilesets (`.tsj`) by the `source` path the map references.
