# Using Widget button to trigger actor blueprints

**URL:** <https://forums.unrealengine.com/t/using-widget-button-to-trigger-actor-blueprints/16464>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [December 4, 2014, 1:06pm UTC](https://forums.unrealengine.com/t/using-widget-button-to-trigger-actor-blueprints/16464 "2014-12-04T13:06:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hardyhutajaya](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hardyhutajaya](https://forums.unrealengine.com/u/hardyhutajaya)\
**Post date:** [December 4, 2014, 1:06pm UTC](https://forums.unrealengine.com/t/using-widget-button-to-trigger-actor-blueprints/16464/1 "2014-12-04T13:06:51Z")

</div>

Hello hello, i am designing a ‘sort-of’ UI for touch input.

\>\>\>\>\>I have a few actor blueprints. Currently i am toggling the visibility of these cubes by the ‘tab’ key

 ![pic 1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/4/7/47d1b1d169fc8e6f8f203aca12594521a5d2c64c.jpeg)

\>\>\>\>\>On a tablet there is no keyboard, so i am thinking of toggling these cubes via a ‘button’ on widget blueprint

 ![picture 2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/0/d/0dd4a8c3cb7c95dc3cff751efb8c1e6605f51501.jpeg)

\>\>\>\>\>I tried to use blueprint interface

 ![picture 3.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/2/5/250605700ea8927c78c5b7ce8143fd1805e81b98.jpeg)

\>\>\>\>But i am unable to set the actors like usual if i am using an actor blueprint. Is there anyway i can achieve this?

 ![picture 4.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/0/4/04b9b4ccc1152bc23d929d2c35f1eb649319585e.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7c9c15f4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7c9c15f4](https://forums.unrealengine.com/u/anonymous_user_7c9c15f4)\
**Post date:** [December 4, 2014, 6:47pm UTC](https://forums.unrealengine.com/t/using-widget-button-to-trigger-actor-blueprints/16464/2 "2014-12-04T18:47:25Z")

</div>

You could make an event dispatcher in your HUD, bind it to an event in your world after you add the HUD, and call the event from the HUD.

 ![9f65e6350cf6fe6e0fdf3d74fd0198bc8b9e2e2a.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/f/6/9f65e6350cf6fe6e0fdf3d74fd0198bc8b9e2e2a.jpeg)

 ![1bfbbf6989c6ad2d68806f30770869443717c1b8.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/b/f/1bfbbf6989c6ad2d68806f30770869443717c1b8.jpeg)

---

<div class="post-metadata">

**Author:** ![ruohki](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ruohki](https://forums.unrealengine.com/u/ruohki)\
**Post date:** [December 4, 2014, 7:05pm UTC](https://forums.unrealengine.com/t/using-widget-button-to-trigger-actor-blueprints/16464/3 "2014-12-04T19:05:11Z")

</div>

well or a interface “get all actors implementing interface” and stuff
