# Maximum

## Overview

![The Maximum Node.](https://1553081948-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU990HLHWA30dTfELtDUK%2Fuploads%2Fgit-blob-2ab3406120348f2ceea915f237a540c989c7bb4a%2Fmaximumnode20241.png?alt=media)

**Maximum** compares a set of numerical inputs and returns the upper bound (maximum value) in the set.

In case of **Vectors**, it compares the values by component and returns them separately.

[**Scope**](https://docs.incari.com/incari-studio/overview#scopes): **Project**, **Scene**, **Function**, **Prefab**.

## Attributes

![The Maximum Node Attributes.](https://1553081948-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU990HLHWA30dTfELtDUK%2Fuploads%2Fgit-blob-fd1bee2d3117ca135dc902046fc9900f53412038%2Fnode-maximum2-attr.png?alt=media)

| Attribute   | Type                                          | Description                                                                                        |
| ----------- | --------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| `Data Type` | **Drop-down**                                 | The data type of all `Input` and `Output` **Sockets**.                                             |
| `Inputs`    | *Defined in the `Data Type`* ***Attribute***. | The number of `Input` **Sockets** and their default values if they have no data connected to them. |

## Inputs

| Input             | Type                                          | Description                                                           |
| ----------------- | --------------------------------------------- | --------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse**                                     | A standard input **Pulse**, to trigger the execution of the **Node**. |
| `Input [n]`       | *Defined in the `Data Type`* ***Attribute**.* | The set of values to get the upper bound from.                        |

## 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. |
| `Maximum`          | *Defined in the `Data Type`* ***Attribute**.* | The maximum value in the set of inputs.                                                                                                |

## External Links

* [*Upper and lower bounds*](https://en.wikipedia.org/wiki/Upper_and_lower_bounds) on Wikipedia.
