# Interface: TouchHost

Defined in: [touch.ts:5](https://github.com/debuffjp/debuff/blob/b018c1a068ef1bc6d0d897e130238baa96957244/packages/input/src/touch.ts#L5)

The parts of `Game` that `TouchControls` uses.

## Properties

### height

> **height**: `number`

Defined in: [touch.ts:8](https://github.com/debuffjp/debuff/blob/b018c1a068ef1bc6d0d897e130238baa96957244/packages/input/src/touch.ts#L8)

***

### hooks

> **hooks**: `object`

Defined in: [touch.ts:9](https://github.com/debuffjp/debuff/blob/b018c1a068ef1bc6d0d897e130238baa96957244/packages/input/src/touch.ts#L9)

#### beforeUpdate()

> **beforeUpdate**(`fn`): () => `void`

##### Parameters

###### fn

(`dt`) => `void`

##### Returns

() => `void`

***

### width

> **width**: `number`

Defined in: [touch.ts:7](https://github.com/debuffjp/debuff/blob/b018c1a068ef1bc6d0d897e130238baa96957244/packages/input/src/touch.ts#L7)

Logical size, so positions can count from the right and bottom edges.
