> ## Documentation Index
> Fetch the complete documentation index at: https://docs.inworld.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> GoalData

# GoalData

[Overview](../overview) > GoalData

**Class:** `GoalData` | **Inherits from:** `ScriptableObject`

ScriptableObject that holds a collection of goal definitions for AI character behavior.
Use this to define goal activation conditions and the responses your character should deliver.

## Nested Types

* [ResponseType](#responsetype)
* [GoalResponse](#goalresponse)
* [Condition](#condition)
* [Goals](#goals)

## Properties

* [goals](#goals-collection)

## Reference

### ResponseType

Enum describing the type of response associated with a goal.

Values:

* `Instruction`: Response that provides instructions or guidance.
* `Verbatim`: Response that should be delivered exactly as written.

***

### GoalResponse

Represents a response associated with a goal, including its type and content.

#### Fields

* `type` (`ResponseType`): The type of response.
* `responseText` (`string`): The text content of the response.

***

### Condition

Represents a condition that must be met for a goal to be activated.

#### Fields

* `description` (`string`): Description of the condition.
* `activations` (`List<string>`): Activation triggers or keywords.

***

### Goals

Represents a complete goal definition with its conditions, responses, and behavior settings.

#### Fields

* `goalName` (`string`): Name identifier for the goal.
* `motivation` (`string`): Motivation or purpose behind the goal.
* `repeatable` (`bool`, default `true`): Whether this goal can be activated multiple times.
* `condition` (`Condition`): Condition required for activation.
* `response` (`GoalResponse`): Response to deliver when the goal is achieved.

***

### goals (collection)

The collection of goal definitions defined in this asset.

#### Type

`List<Goals>`

***
