# Hard references in level blueprint

**URL:** <https://forums.unrealengine.com/t/hard-references-in-level-blueprint/1394738>\
**Category:** Programming & Scripting\
**Tags:** references, unreal-engine, Blueprint\
**Created:** [November 16, 2023, 1:01pm UTC](https://forums.unrealengine.com/t/hard-references-in-level-blueprint/1394738 "2023-11-16T13:01:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![djzan22](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@djzan22](https://forums.unrealengine.com/u/djzan22)\
**Post date:** [November 16, 2023, 1:01pm UTC](https://forums.unrealengine.com/t/hard-references-in-level-blueprint/1394738/1 "2023-11-16T13:01:06Z")

</div>

Hello there,

I am building an educational VR game where I am now ready to create levels with different tasks and objectives.

I had the idea of creating hard references to different tools in the level in the level blueprint and use event dispatchers to triggers messages and task completion etc. So that the tools simply send a message when something has been done correctly or wrong and the level blueprint is listening for when to display a message or start a new task etc.

What do you thing about this?  
I am open to suggestions for other ways to do this.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [November 16, 2023, 1:06pm UTC](https://forums.unrealengine.com/t/hard-references-in-level-blueprint/1394738/2 "2023-11-16T13:06:26Z")

</div>

Generally speaking, trying to ‘talk’ to the level BP from outside usually results in clumsy and non-modular code.

What might work better, is to make a blueprint parent class for the tool. It can contain all the common aspects ( success, fail, user interaction, message display etc ).

Then all you have to do, is write the missing bits, and drop the blueprints in your level.

---

<div class="post-metadata">

**Author:** ![shadymorningstar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shadymorningstar](https://forums.unrealengine.com/u/shadymorningstar)\
**Post date:** [November 16, 2023, 1:07pm UTC](https://forums.unrealengine.com/t/hard-references-in-level-blueprint/1394738/3 "2023-11-16T13:07:47Z")

</div>

You can also use interfaces to implement specific logic. Keeps the code clean, and communication between blueprints is also simplified.
