> For the complete documentation index, see [llms.txt](https://docs.otherside.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.otherside.xyz/platform-documentation/creation/unreal-development/features-and-tutorials/live-config/using-arrays-in-live-config.md).

# Using Arrays

{% hint style="success" %}
verified: 2025-11-20 version: v39
{% endhint %}

### You can add an array to your schema like this:

project.schema.json:

```
"DemoStringArray":
	{
		"type": "array",
		"items": {
			"type": "string"
		},
		"default": ["1","2","3","4","5"],
		"description": "This is a string array live config"
	},
"DemoNumberArray":
	{
		"type": "array",
		"items": {
			"type": "number"
		},
		"default": [1,2,3,4,5],
		"description": "This is a number array live config"
	},
"DemoBoolArray":
	{
		"type": "array",
		"items": {
			"type": "boolean"
		},
		"default": [true, false, false, true, false],
		"description": "This is a bool array live config"
	}
```

### You can override array elements like this:

project.override.json:

```
{
	"DemoStringArray": [
		"5","4","3","2","1"
	],
	"DemoNumberArray": [
		5, 4, 3, 2, 1
	],
	"DemoBoolArray": [
		false, true, false, false, true
	]
}
```

**Note that the array elements are wrapped in \[] and not {}**

Supported array element types are:

```
bool, string, number, integer
```

All elements of an array must be of the same type, you cannot mix types within an array.

To read an array from live config in blueprints using the special "GetGameDataAttributeValueAsArray" nodes, like this:

<figure><img src="https://970394512-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ft3SBfOIsRz4GCNFFpae7%2Fuploads%2Fgit-blob-fc0c8049959020c12c13b84cb8dc49243a2fdf3c%2Fimage%20(127).png?alt=media" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.otherside.xyz/platform-documentation/creation/unreal-development/features-and-tutorials/live-config/using-arrays-in-live-config.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
