# 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="/files/Nd8yRjZPEmIkp9CVP04J" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.msquared.io/creation/unreal-development/features-and-tutorials/live-config/using-arrays-in-live-config.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
