# How do I message across objects with blueprint?

**URL:** <https://forums.unrealengine.com/t/how-do-i-message-across-objects-with-blueprint/381406>\
**Category:** Blueprint\
**Tags:** trigger, unreal-engine, cube, Blueprint, question\
**Created:** [January 10, 2017, 2:10am UTC](https://forums.unrealengine.com/t/how-do-i-message-across-objects-with-blueprint/381406 "2017-01-10T02:10:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_9938a7501](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9938a7501](https://forums.unrealengine.com/u/anonymous_user_9938a7501)\
**Post date:** [January 10, 2017, 2:10am UTC](https://forums.unrealengine.com/t/how-do-i-message-across-objects-with-blueprint/381406/1 "2017-01-10T02:10:31Z")

</div>

I have made a puzzle for a game in which you slide a cube into a hole to open a door. I have got it so I have the door, the trigger and the cube, and gotten the puzzle to work, but I can’t figure out how to have the trigger send a message to the door for it to open. How do I do this? Do I use gamestates, and if so, how do I make one?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_beeaf1ad](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_beeaf1ad](https://forums.unrealengine.com/u/anonymous_user_beeaf1ad)\
**Post date:** [January 10, 2017, 3:00am UTC](https://forums.unrealengine.com/t/how-do-i-message-across-objects-with-blueprint/381406/2 "2017-01-10T03:00:11Z")

</div>

Posting screenshots that show your blueprint setup will help me better assist you.

If your door is already spawned in the level I would have a public accessible variable on the trigger that contains a reference to a door Actor. In the level designer when you select a trigger you can set the door reference variable.

---

<div class="post-metadata">

**Author:** ![learningOver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@learningOver](https://forums.unrealengine.com/u/learningOver)\
**Post date:** [January 10, 2017, 3:51am UTC](https://forums.unrealengine.com/t/how-do-i-message-across-objects-with-blueprint/381406/3 "2017-01-10T03:51:17Z")

</div>

You can create a blueprint that has the items you are using within its component tree.  
From here operating a given reference based on the trigger activity is a natural thing.

So you have the Door and a collision box as a minimum in the blueprint, you would configure the trigger to recognize the block using the collision callbacks (begin actor overlap / end actor overlap)

But as elitereloaded suggested, screen shots of your configuration are a good place to start with getting recommendations.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9938a7501](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9938a7501](https://forums.unrealengine.com/u/anonymous_user_9938a7501)\
**Post date:** [January 10, 2017, 11:53pm UTC](https://forums.unrealengine.com/t/how-do-i-message-across-objects-with-blueprint/381406/4 "2017-01-10T23:53:15Z")

</div>

alt text

 ![121536-screenshot+2017-01-10+15.36.36.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/1/5/f15e0fc90f8d2490ad00f2d0085fa04ff23da9a3.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9938a7501](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9938a7501](https://forums.unrealengine.com/u/anonymous_user_9938a7501)\
**Post date:** [January 10, 2017, 11:54pm UTC](https://forums.unrealengine.com/t/how-do-i-message-across-objects-with-blueprint/381406/5 "2017-01-10T23:54:15Z")

</div>

![121536-screenshot+2017-01-10+15.36.36.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/1/5/f15e0fc90f8d2490ad00f2d0085fa04ff23da9a3.png)

---

<div class="post-metadata">

**Author:** ![learningOver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@learningOver](https://forums.unrealengine.com/u/learningOver)\
**Post date:** [January 25, 2017, 1:58am UTC](https://forums.unrealengine.com/t/how-do-i-message-across-objects-with-blueprint/381406/6 "2017-01-25T01:58:48Z")

</div>

Yes, so now add a box collision object to your component tree using the green button on the upper left side above the component tree.

From there you can implement begin/end overlap methods to react as you please.
