# Merge Dictionaries

## Overview

![The Merge Dictionaries Node.](/files/QeTerfCd32506ORrqGBN)

The **Merge Dictionaries** **Node** merges two or more **Dictionaries**. It receives the **Dictionaries** to merge (`Dictionary 1`, `Dictionary 2`, etc) and outputs the merged **Dictionary** (`New Dictionary`).

In the case that two or more of the **Dictionaries** to be merged have the same *key*, it takes the *value* from the first **Dictionary** (for instance, if `Dictionary 2` and `Dictionary 3` have the same *key* with different *values*, the `New Dictionary` will take the *value* from `Dictionary 2`).

[**Scope**](/incari-studio/2022.2/toolbox/overview.md#scopes): **Project**, **Scene**, **Function**, **Prefab**.

## Attributes

![The Merge Dictionaries Node Attributes.](/files/Z37l7MR2Uu0VlclVaihE)

### Inputs

| Attribute | Type    | Description                                                                                 |
| --------- | ------- | ------------------------------------------------------------------------------------------- |
| `Count`   | **Int** | The number of **Dictionaries** you wish to merge. The default number is 2 **Dictionaries**. |

## Inputs

| Input                                    | Type           | Description                                                           |
| ---------------------------------------- | -------------- | --------------------------------------------------------------------- |
| *Pulse Input* (►)                        | **Pulse**      | A standard **Input Pulse**, to trigger the execution of the **Node**. |
| `Dictionary` *(`Count`* ***Attribute**)* | **Dictionary** | Two or more **Dictionaries** you wish to merge.                       |

## Outputs

| Output             | Type           | Description                                                                                                                            |
| ------------------ | -------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| *Pulse Output* (►) | **Pulse**      | A standard **Output Pulse**, to move onto the next **Node** along the **Logic Branch**, once this **Node** has finished its execution. |
| `New Dictionary`   | **Dictionary** | The merged **Dictionary**.                                                                                                             |

## See Also

* [**Dictionary Value**](/incari-studio/2022.2/toolbox/dictionary/dictionary-value.md)


---

# 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.incari.com/incari-studio/2022.2/toolbox/dictionary/merge-dictionaries.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.
