Minimum (Expression Function Reference)

 
 
 

The Function Value Minimum command in the expression editor inserts the token MIN(<val1>,<val2>) at the insertion point in the editing pane. This token evaluates two expressions and returns the lower value. Replace the dummy arguments <val1> and <val2> with other expressions. You can add more expressions separated by commas, and the function will return the minimum value of all of them.

Example

MIN(sphere.kine.local.posx, sphere.kine.local.posy, sphere.kine.local.posz)

Returns whichever value is lower: the local X, Y, or Z translation of sphere.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License