SKMath.Mod
static int Mod(int x, int mod)
Modulus, works better than ‘%’ for negative values.
| int x | Numerator | 
| int mod | Denominator | 
| RETURNS: int | x modulus mod | 
Found an issue with these docs, or have some additional questions? Create an Issue on Github!