Skip to main content
Version: 3.9.0

Remap

Use Remap to remap a value from an old range to a new range. Remap is in the Math category.

Input

NameData TypeDescription
ANumberThe value to remap.
Input MinNumberThe lower bound of the old range.
Input MaxNumberThe upper bound of the old range.
Output MinNumberThe lower bound of the new range.
Output MaxNumberThe upper bound of the new range.
ClampNumberThis value is false by default. When it is set to true, clamp the input value A between Output Min and Output Max.

Output

NameData TypeDescription
ResultNumberThe remapped value.

Example

remap example

↓ remap.zip

This example shows how to use the Remap node to map the position of a finger touch on the screen to the position of a 3D object in real-time.

remap node