Click on the rectangle to spawn a particle effect