[SOLVED] PImage[] array inside class shows all images at once

To get one image picked (let go random) you can just whenever the pressed method is executed before the return statement you can add a class variable rand ( call it whatever this uses the length of the array and will display that image in pickedPlanet() (remove the for loop from there too ).