# Interface: TouchSpot

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

A position in logical units. A negative value counts from the far edge: `{ x: -32, y: -32 }` is 32 units in
from the bottom-right corner, so the layout holds when the game's size changes (`scale: "expand"`).

## Extended by

- [`TouchStickOptions`](TouchStickOptions.md)

## Properties

### radius?

> `optional` **radius?**: `number`

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

Touch radius. Default 24 for the stick, 16 for a button.

***

### x

> **x**: `number`

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

***

### y

> **y**: `number`

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