# GoalSpec

> Talos next · Since 0.6

## Signature

```ts
export interface GoalSpec {
  id: string
  labelKey: string
  /** Position in the 1..n sequence; unordered goals come after the ordered ones, in scene order. */
  order?: number
  /** The entity that carries the goal component. */
  entity?: string
}
```

Import: `import type { GoalSpec } from "@argus/gameplay"`

## Members

| Member | Signature | Description |
|---|---|---|
| `id` | `id: string` |  |
| `labelKey` | `labelKey: string` |  |
| `order` | `order?: number` | Position in the 1..n sequence; unordered goals come after the ordered ones, in scene order. |
| `entity` | `entity?: string` | The entity that carries the goal component. |
