Processing match 3

yes spawner spawns the blocks when bock.size don’t equal the amount i want. Checked checks to see if mouse is colliding with the block, so no it can’t be in mousePressed I need to know which block i’m over.