Skip to main content
TikTok Effect House Platform Logo
Download
Log in
Math

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

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