Skip to content

MAX

71

The MAX node compares multiple inputs and outputs the highest value among them. It is a simple but effective way to handle "clamping" or identifying top performance.

When to use this node: * Lower Limit (Clamping): Ensuring a value never drops below a certain point. By setting input B to 10, the output will always be at least 10, even if input A is lower. * High Score Tracking: Comparing a player's current score against their previous best to update a leaderboard. * Aggregating Sensors: Finding the highest temperature or light level across multiple rooms or sensors.

Connectors in

  • A [type: variant]
  • B [type: variant]

Connectors out

  • int [type: variant]