New event to iterate through a 3D-array