function done ( id, x, y, z ) moving[id] = 0 --Note 1 matrix[x][y][z] = 0 --Note 2 end