set loopdim x|y|z|t|e
By default, the animation dimension is time. This command allows you to set which dimension to animate.