# Set loop lenght, and/or sample offset via BP?

**URL:** <https://qa.fmod.com/t/set-loop-lenght-and-or-sample-offset-via-bp/12873>\
**Category:** Unreal Engine\
**Created:** [December 14, 2016, 3:26am UTC](https://qa.fmod.com/t/set-loop-lenght-and-or-sample-offset-via-bp/12873 "2016-12-14T03:26:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gbsr](https://avatars.discourse-cdn.com/v4/letter/g/b5e925/32.png) [@gbsr](https://qa.fmod.com/u/gbsr)\
**Post date:** [December 14, 2016, 3:26am UTC](https://qa.fmod.com/t/set-loop-lenght-and-or-sample-offset-via-bp/12873/1 "2016-12-14T03:26:20Z")

</div>

Hello. So yeah, as the title says. I want to get the event name. At the moment this is just for debugging but could be used for switching depending on string for example.

EDIT: Literally worked the second I posted. Get display name is the node by the way, was returning a number though only, turned out to be UE not updating my BP.  
The other questions are still open though 🙂

Also, is it possible to set loop length via blueprint, and a variation/workaround for sample offset?

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [December 28, 2016, 3:20am UTC](https://qa.fmod.com/t/set-loop-lenght-and-or-sample-offset-via-bp/12873/2 "2016-12-28T03:20:04Z")

</div>

You can’t really change the loop length specifically from outside of Studio. You could play with transition regions triggered using timeline position to get something similar.

As for the sample offset, in Studio you can automate the seek (Start Offset) on the track, but I’m not sure what you mean by variation/workaround.
