Is there any expresion that given a value and the divisible number pass a variable and give 0 or 1 or something to turn On/Off an action or whatever?
Use modulo (remainder) operator - %
x%2 will give you either 0 or 1
Develop games in your browser. Powerful, performant & highly capable.
dop2000 Oh Thanks! worked perfectly thanks!