# Fire an Event in multiple Blueprints (not player)

**URL:** <https://forums.unrealengine.com/t/fire-an-event-in-multiple-blueprints-not-player/440927>\
**Category:** Blueprint\
**Tags:** trigger, unreal-engine, global, question, Blueprint\
**Created:** [January 9, 2019, 7:51am UTC](https://forums.unrealengine.com/t/fire-an-event-in-multiple-blueprints-not-player/440927 "2019-01-09T07:51:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ja\_jujo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ja\_jujo](https://forums.unrealengine.com/u/Ja_jujo)\
**Post date:** [January 9, 2019, 7:51am UTC](https://forums.unrealengine.com/t/fire-an-event-in-multiple-blueprints-not-player/440927/1 "2019-01-09T07:51:12Z")

</div>

Hi everyone,  
already posted a similar question yesterday but I guess I described it not properly. I have a Blueprint which is placed several times on my map. Now if I press a button on my keyboard (e.g. “1”) I want that all of these BP an event is triggered (The BP contain several static meshes that the player can cycle through) .  
My problem is that no matter what my key press just won’t fire in the BP - I think it is because the BP are not the “Player” and Input won’t get through. Can anybody help 🙂 ?

 ![264540-globalswitch.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/d/5/4d50ffc27478463d03fda6de4a784689c1173ef6.jpeg)

This is the event I want to trigger in every BP on the map (it’s only three)

---

<div class="post-metadata">

**Author:** ![Tuerer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tuerer/32/1008648_2.png) [@Tuerer](https://forums.unrealengine.com/u/Tuerer)\
**Post date:** [January 9, 2019, 8:06am UTC](https://forums.unrealengine.com/t/fire-an-event-in-multiple-blueprints-not-player/440927/2 "2019-01-09T08:06:24Z")

</div>

Don’t use input in actors other than your Character BP or Level BP; it rarely works as planned.

What you want to do is create a Custom Event in the BP, and call that event from the Character or Level BP.

Let’s say you have a Door BP, and you create a Custom Event called Open Door. In the Character or Level BP you do the following: Press 1 =\> Get All Actors Of Class (Door) =\> Foreach Loop =\> Open Door

---

<div class="post-metadata">

**Author:** ![Ja\_jujo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ja\_jujo](https://forums.unrealengine.com/u/Ja_jujo)\
**Post date:** [January 9, 2019, 8:30am UTC](https://forums.unrealengine.com/t/fire-an-event-in-multiple-blueprints-not-player/440927/3 "2019-01-09T08:30:52Z")

</div>

thank you 🙂 I will try this as soon as I am back at my PC - I might ask some follow up questions afterwards 😃

---

<div class="post-metadata">

**Author:** ![Ja\_jujo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ja\_jujo](https://forums.unrealengine.com/u/Ja_jujo)\
**Post date:** [January 9, 2019, 10:37am UTC](https://forums.unrealengine.com/t/fire-an-event-in-multiple-blueprints-not-player/440927/4 "2019-01-09T10:37:51Z")

</div>

Ok so I think I understand your solution and I think I even built the BP correctly but unfortunately it is still not working. I should probably say that this is used in a VR Environment and that I am using the Unreal VR Template. It just seems that it doesn’t take any input from the keyboard… if I am simulating/running the game The BP also don’t show any reaction when pressing keyboard keys… So here are the BP - I am now calling my BP\_MeshSwitch from the Lvl BP

 ![264688-lvlbp.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/8/b/08b05e085562d7a20f1f5ac3a96adb7908a800c0.png)

 ![264689-revisedbp.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/6/7/3673c56973b43a317ce34ad95fad3f2d9e3e089f.jpeg)

EDIT: Ok I found the problem - the PC I tested the new BP didn’t have the Rift plugged in as soon as a rift with motion controllers was connected it worked as intended. Thanks a million!

---

<div class="post-metadata">

**Author:** ![Tuerer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tuerer/32/1008648_2.png) [@Tuerer](https://forums.unrealengine.com/u/Tuerer)\
**Post date:** [January 9, 2019, 11:39am UTC](https://forums.unrealengine.com/t/fire-an-event-in-multiple-blueprints-not-player/440927/5 "2019-01-09T11:39:36Z")

</div>

Try Foreach loop node after the Get Actors of Class.
