min(val1,val2,val3,...)
From YoYoGames Wiki
Description
This function returns the lowest (minimum) of the values.
Arguments
- val1-16 (real) or (string): A value. Values must be all a number, or all a string. There is a maximum of 16 values.
Returns
- (real): Returns the lowest (minimum) the values
Example
The following checks the minimum of the 3 values. If the minimum is smaller than 7, it ends the game. In this case, the minimum returned is 4, so it would end the game.
number=min(7,4,8);
if number<7 {game_end();}

