Skip to content

Float Add Clamp

Add to a float variable value and clamp the result between min and max.

Parameter Description
Float The float to add to.
Add The value to add.
Min The minimum value allowed after adding.
Max The maximum value allowed after adding.

Check Per Second in Update Mode to make this action frame rate independent.
For example, Add = 1 means the value increases by 1 over one second, not 1 every frame.

See also