# How can I use this script to be able to use sprites/flipbooks?

**URL:** <https://forums.unrealengine.com/t/how-can-i-use-this-script-to-be-able-to-use-sprites-flipbooks/290113>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [August 4, 2014, 9:52pm UTC](https://forums.unrealengine.com/t/how-can-i-use-this-script-to-be-able-to-use-sprites-flipbooks/290113 "2014-08-04T21:52:20Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Penhoat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Penhoat](https://forums.unrealengine.com/u/Penhoat)\
**Post date:** [August 4, 2014, 9:52pm UTC](https://forums.unrealengine.com/t/how-can-i-use-this-script-to-be-able-to-use-sprites-flipbooks/290113/1 "2014-08-04T21:52:20Z")

</div>

Hello everyone,

I’m looking into pickupable objects. For this I’ve taken a look at Content Example, coins health etc.

Especially pickup\_parent is obviously amazing!

I was wondering if anyone could help me with following:

 ![11933-unreal.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/e/2/ce29ce7a7ba5dc7846a413bb9bf1f50082a28cee.png)

 ![11934-unreal2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/c/2/4c2d15ae5a9e74a37b9c70b95d04e3f4fa00bcd3.png)

I would like to be able to use this script, but instead of static meshes be able to use sprites/flipbooks since I’m making a 2D game. Anyone able to help me with that?

Would be much appreciated.

BTW: It’s just pickup\_parent script from Content Example

---

<div class="post-metadata">

**Author:** ![Penhoat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Penhoat](https://forums.unrealengine.com/u/Penhoat)\
**Post date:** [August 5, 2014, 5:42am UTC](https://forums.unrealengine.com/t/how-can-i-use-this-script-to-be-able-to-use-sprites-flipbooks/290113/2 "2014-08-05T05:42:57Z")

</div>

Does anyone have an idea?

---

<div class="post-metadata">

**Author:** ![nickpetersonfx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nickpetersonfx](https://forums.unrealengine.com/u/nickpetersonfx)\
**Post date:** [August 5, 2014, 8:01pm UTC](https://forums.unrealengine.com/t/how-can-i-use-this-script-to-be-able-to-use-sprites-flipbooks/290113/3 "2014-08-05T20:01:30Z")

</div>

You could always create a particle system that has sprite/flipbook and set it to repeat at right timing and drop that into world.

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [August 5, 2014, 10:36pm UTC](https://forums.unrealengine.com/t/how-can-i-use-this-script-to-be-able-to-use-sprites-flipbooks/290113/4 "2014-08-05T22:36:23Z")

</div>

Hey Penhoat,

If your Pickup Blueprint has a Sprite component and/or a Flipbook component, you can use Set Sprite and Set Flipbook nodes.

 ![12053-setspritesetflipbook.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/9/f/a9f31b6b8fec175572ac67e9a1cc1f52fad5899a.png)

Hope that helps! Let me know if you have any other questions.

---

<div class="post-metadata">

**Author:** ![Penhoat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Penhoat](https://forums.unrealengine.com/u/Penhoat)\
**Post date:** [August 7, 2014, 11:13am UTC](https://forums.unrealengine.com/t/how-can-i-use-this-script-to-be-able-to-use-sprites-flipbooks/290113/5 "2014-08-07T11:13:09Z")

</div>

Hello,

this is already a great start, however your “paper sprite” and “Paper Flipbook” nodes connected to target. What are they? How do I construct these?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [August 7, 2014, 3:12pm UTC](https://forums.unrealengine.com/t/how-can-i-use-this-script-to-be-able-to-use-sprites-flipbooks/290113/6 "2014-08-07T15:12:03Z")

</div>

Those are empty Paper Sprite and Paper Flipbook components. If you go to Components tab in your Blueprint, you can use Add Component dropdown in Components panel to add these. Put one in your Blueprint and it will be accessible in your EventGraph and appear in Variables section of My Blueprint panel.

---

<div class="post-metadata">

**Author:** ![Penhoat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Penhoat](https://forums.unrealengine.com/u/Penhoat)\
**Post date:** [August 7, 2014, 6:04pm UTC](https://forums.unrealengine.com/t/how-can-i-use-this-script-to-be-able-to-use-sprites-flipbooks/290113/7 "2014-08-07T18:04:59Z")

</div>

Amazing thanks! I figured rest of EventGraph out. Thanks for help!
