# Maximum

## Overview

![The Maximum Node.](/files/7ca40BNWfmpfdfDAXU20)

**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**](/incari-studio/2023.2/toolbox/overview.md#scopes): **Project**, **Scene**, **Function**, **Prefab**.

## Attributes

![The Maximum Node Attributes.](/files/ZU6VE4IAQNRZIq5IHE4V)

### Inputs

| 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.


---

# 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/2023.2/toolbox/math/maximum.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.
