Random number-- Generate a random integer between 0 and numLayers-1math.random(numLayers) - 1#MohoRecipes