# Convert seconds into Play Rate

**URL:** <https://forums.unrealengine.com/t/convert-seconds-into-play-rate/688230>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE4, question, vector-math\
**Created:** [November 10, 2022, 8:38pm UTC](https://forums.unrealengine.com/t/convert-seconds-into-play-rate/688230 "2022-11-10T20:38:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sweeetjd](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sweeetjd/32/782492_2.png) [@sweeetjd](https://forums.unrealengine.com/u/sweeetjd)\
**Post date:** [November 10, 2022, 8:38pm UTC](https://forums.unrealengine.com/t/convert-seconds-into-play-rate/688230/1 "2022-11-10T20:38:44Z")

</div>

I have a timeline that lasts one second. I would like to be able to play back this timeline at different speeds (lasting 2 seconds, 5 seconds, etc), but I don’t know how to convert the total length of time it should play into the play rate. Is there a way to do this?

---

<div class="post-metadata">

**Author:** ![Supremative](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/supremative/32/906564_2.png) [@Supremative](https://forums.unrealengine.com/u/Supremative)\
**Post date:** [November 10, 2022, 8:57pm UTC](https://forums.unrealengine.com/t/convert-seconds-into-play-rate/688230/2 "2022-11-10T20:57:58Z")

</div>

You should divide the timeline’s length by the desired number of seconds.

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/8/2/f8295a64baa8ba5a218d9031438e377ed91e9bf5.png)

[My Products](https://www.unrealengine.com/marketplace/en-US/profile/Aleksandr+Sidorov)

---

<div class="post-metadata">

**Author:** ![sweeetjd](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sweeetjd/32/782492_2.png) [@sweeetjd](https://forums.unrealengine.com/u/sweeetjd)\
**Post date:** [November 16, 2022, 8:51pm UTC](https://forums.unrealengine.com/t/convert-seconds-into-play-rate/688230/3 "2022-11-16T20:51:04Z")

</div>

Haha it’s so simple, don’t I feel stupid. Thank you!
