# How to select animation range to play?

**URL:** <https://discourse.threejs.org/t/how-to-select-animation-range-to-play/8535>\
**Category:** Questions\
**Tags:** animation\
**Created:** [July 16, 2019, 4:28pm UTC](https://discourse.threejs.org/t/how-to-select-animation-range-to-play/8535 "2019-07-16T16:28:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![11117](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/11117/32/6361_2.png) [@11117](https://discourse.threejs.org/u/11117)\
**Post date:** [July 16, 2019, 4:28pm UTC](https://discourse.threejs.org/t/how-to-select-animation-range-to-play/8535/1 "2019-07-16T16:28:22Z")

</div>

Hi. I want to select animation range by frame. I have FBX animation (0-50 frames “run”, 51-100 “jump”, etc). How to play only selected frames? The same discuss is here: [ClipAction select range to play](https://discourse.threejs.org/t/clipaction-select-range-to-play/1134)  
More over I found approved pull request: [https://github.com/mrdoob/three.js/pull/13430](https://github.com/mrdoob/three.js/pull/13430)  
But I can’t find THREE.AnimationUtils.subclip implementation in r106 and r107dev releases. Are the any ideas how to do it?

---

<div class="post-metadata">

**Author:** ![Fyrestar](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/fyrestar/32/52793_2.png) [@Fyrestar](https://discourse.threejs.org/u/Fyrestar)\
**Post date:** [July 16, 2019, 6:37pm UTC](https://discourse.threejs.org/t/how-to-select-animation-range-to-play/8535/2 "2019-07-16T18:37:34Z")

</div>

It’s not merged i think, i did [a similar](https://github.com/mrdoob/three.js/pull/15615) basically, though the issue with both was that if not all tracks have keyframes at the frame you cut it, that would be an issue **but** technically this couldn’t happen as long as those positions are an actual start/end of a animation sequence, so at these positions all tracks should have a keyframe anyway.

I didn’t updated this yet, since optimally it would generate these keyframes, so all you need in case you use a IK rig is to set a keyframe for all bones at the sequence start/end if there would be an issue, never had one using C4D when set.
