Game Maker
Advertisement

Returns value of either 1 or -1 depending whether the argument is positive (1) or negative (-1).

sign(value); 1; -1
Advertisement