# Randomizing Flipbook Texture

**URL:** <https://forums.unrealengine.com/t/randomizing-flipbook-texture/70989>\
**Category:** FX\
**Tags:** unreal-engine\
**Created:** [August 9, 2016, 12:12am UTC](https://forums.unrealengine.com/t/randomizing-flipbook-texture/70989 "2016-08-09T00:12:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![hippowombat](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hippowombat/32/906590_2.png) [@hippowombat](https://forums.unrealengine.com/u/hippowombat)\
**Post date:** [August 9, 2016, 12:12am UTC](https://forums.unrealengine.com/t/randomizing-flipbook-texture/70989/1 "2016-08-09T00:12:05Z")

</div>

So I’m using a flipbook texture for an animated particle effect, but all my sprites using the flipbook animation go through the same frames at the same time, and when they’re on screen and spread out it looks repetitive. Is there a simple way to randomize what frame the animation starts on or is offset based on world position or something?

---

<div class="post-metadata">

**Author:** ![Deathrey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deathrey](https://forums.unrealengine.com/u/Deathrey)\
**Post date:** [August 9, 2016, 12:22am UTC](https://forums.unrealengine.com/t/randomizing-flipbook-texture/70989/2 "2016-08-09T00:22:25Z")

</div>

You could add actor world position to the time node, and use that for flipbook animation phase input.

---

<div class="post-metadata">

**Author:** ![xnihil0zer0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xnihil0zer0](https://forums.unrealengine.com/u/xnihil0zer0)\
**Post date:** [August 9, 2016, 2:46am UTC](https://forums.unrealengine.com/t/randomizing-flipbook-texture/70989/3 "2016-08-09T02:46:04Z")

</div>

There’s a material node called ParticleRandomValue. Simple enough?

---

<div class="post-metadata">

**Author:** ![daveSchoneveld](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/daveschoneveld/32/726691_2.png) [@daveSchoneveld](https://forums.unrealengine.com/u/daveSchoneveld)\
**Post date:** [August 9, 2016, 11:32pm UTC](https://forums.unrealengine.com/t/randomizing-flipbook-texture/70989/4 "2016-08-09T23:32:46Z")

</div>

If your sprite sheet is loopable, which I think is your question then you can have random start frame if you use SubUVMovie \> Starting Frame == 0 which will make the start frame random.

---

<div class="post-metadata">

**Author:** ![Gmi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gmi](https://forums.unrealengine.com/u/Gmi)\
**Post date:** [May 14, 2017, 2:07am UTC](https://forums.unrealengine.com/t/randomizing-flipbook-texture/70989/5 "2017-05-14T02:07:04Z")

</div>

> [@daveSchoneveld;578454](#):
>
> use SubUVMovie \> Starting Frame == 0 which will make the start frame random.

How would that be done on GPU particles? Randomizing the starting frame of a flipbook material.

---

<div class="post-metadata">

**Author:** ![Art-Fun2XZ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Art-Fun2XZ](https://forums.unrealengine.com/u/Art-Fun2XZ)\
**Post date:** [March 13, 2021, 8:01am UTC](https://forums.unrealengine.com/t/randomizing-flipbook-texture/70989/6 "2021-03-13T08:01:09Z")

</div>

For those who struggle stilll with this problem.  
In my opionion this guy explain a great solution =)

Unless your are using Niagara Particle System…

Setup Flipübook Animation via Niagara Particle System:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/4/2/8422c5869825d8d91c3fada9129fa1d2bff6ecba.jpeg "UE4 - Niagara Flipbook") ](https://www.youtube.com/watch?v=nZDW3GyOxwk)
