# Multiple widget calling in blueprints?

**URL:** <https://forums.unrealengine.com/t/multiple-widget-calling-in-blueprints/447054>\
**Category:** UI\
**Tags:** Input, unreal-engine, Widget, UE4, Blueprint, question, calls\
**Created:** [April 11, 2019, 6:32pm UTC](https://forums.unrealengine.com/t/multiple-widget-calling-in-blueprints/447054 "2019-04-11T18:32:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ILutimus\_Prime](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ILutimus\_Prime](https://forums.unrealengine.com/u/ILutimus_Prime)\
**Post date:** [April 11, 2019, 6:32pm UTC](https://forums.unrealengine.com/t/multiple-widget-calling-in-blueprints/447054/1 "2019-04-11T18:32:47Z")

</div>

So I made a blueprint in which the class widget shows up on the screen when the spacebar is hit. But, the thing I’d like to do since I have Mutliple text widgets, is to call the second widget on the second time the spacebar is pressed. So far, I can only call all three widgets on the first time the spacebar is hit. Any ideas?

---

<div class="post-metadata">

**Author:** ![Sean\_Kealey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Kealey](https://forums.unrealengine.com/u/Sean_Kealey)\
**Post date:** [April 11, 2019, 9:57pm UTC](https://forums.unrealengine.com/t/multiple-widget-calling-in-blueprints/447054/2 "2019-04-11T21:57:16Z")

</div>

From your question what i think ure trying to do it use the same input “spacebar” and every time u fire it off u want a new widget to appear from ure 3 choices…

I would have the spacebar set an index value on every press, u can use a modulo(%) operation to make a wrapper from 0-2, after 2 it will go back to 0. Then make a switch on int node , and drive the logic based on the incoming input value.

---

<div class="post-metadata">

**Author:** ![ILutimus\_Prime](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ILutimus\_Prime](https://forums.unrealengine.com/u/ILutimus_Prime)\
**Post date:** [April 14, 2019, 4:54pm UTC](https://forums.unrealengine.com/t/multiple-widget-calling-in-blueprints/447054/3 "2019-04-14T16:54:20Z")

</div>

I actually figured it out. I used a gate node.
