# Help scrolling through flipbook based on parameter value 

**URL:** <https://forums.unrealengine.com/t/help-scrolling-through-flipbook-based-on-parameter-value/2470434>\
**Category:** Blueprint\
**Tags:** flipbook, unreal-engine, Blueprint, question\
**Created:** [April 22, 2025, 7:59pm UTC](https://forums.unrealengine.com/t/help-scrolling-through-flipbook-based-on-parameter-value/2470434 "2025-04-22T19:59:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![largo\_fn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@largo\_fn](https://forums.unrealengine.com/u/largo_fn)\
**Post date:** [April 22, 2025, 7:59pm UTC](https://forums.unrealengine.com/t/help-scrolling-through-flipbook-based-on-parameter-value/2470434/1 "2025-04-22T19:59:49Z")

</div>

Hey all, I’m currently trying to set up a code system that uses flipbooks as a spritesheet. The goal is to use **parameters** as a way to skip each frame instead of having it animate consistently. For example, if the value of this parameter (we’ll called it **SpriteIndex** ) is 0, it goes to frame 1. If the value of **SpriteIndex** is 1, it goes to frame 2 and so on.

Attached is my current material setup and spritesheet (Right now I have a time node set to 0, making it static/not animated)

 ![Screenshot1.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/d/1/0d122764638ed8a052c086210e927cf2eaafb66f.jpeg)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/0/b/30ba3fba8571fb04864bd9fc92da3108d4a876b2.png)

Any help would be greatly appreciated!
