Documentation

Support

Unity Lite

Open Unity Lite

Unity Lite

Remainder node

Calculate the remainder of a division operation between two numbers.
Read time 1 minuteLast updated 2 days ago

Use the Remainder node to get what’s left over after you divide one number by another. This is useful if you want to repeat patterns (like loop every N seconds) or to check if a value fits evenly into another.

Sockets

Socket

Type

Description

Input 1FloatThe number to divide.
Input 2FloatThe number to divide by. Must not be zero.
OutputFloatThe remainder of Input 1 ÷ Input 2. For example, 7 ÷ 3 has a remainder of 1. With decimals, it returns the fractional remainder.