Checks blockY of the layer.