Math.random specific values corona sdk
snippet in lua

Math.random specific values corona sdk

user2718

rotation = math.random(2) == 1 and 900 or -900