Loop

Set loop section

After selecting a range of frames in the timeline, you can use the View > Set Loop Section menu (F2 key) to set the animation loop section: