# Communicating between scripts

**URL:** <https://forums.unrealengine.com/t/communicating-between-scripts/481017>\
**Category:** Asset Creation\
**Tags:** references, unreal-engine, question\
**Created:** [March 29, 2021, 6:19am UTC](https://forums.unrealengine.com/t/communicating-between-scripts/481017 "2021-03-29T06:19:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![KasperLarsson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KasperLarsson](https://forums.unrealengine.com/u/KasperLarsson)\
**Post date:** [March 29, 2021, 6:19am UTC](https://forums.unrealengine.com/t/communicating-between-scripts/481017/1 "2021-03-29T06:19:44Z")

</div>

I always fail… period…when it comes to making two things talk to each other.

Is there someone who can link a very very precise talk on this topic?

Same goes for C++, right now I am in the situation where I have to simply make my one player controller connect to the visibility of an actor wall component. And I just get all sort of ■■■■ thrown at me.

1. “Its not a reference”
2. “Non static” then when i change it to static void, it says “oh now stuff inside your void is not referencing”

i seriously need to get my head around how this is working in a simple nice video. Anyone, please, ive spend a year and a half on learning this and im still stuck on the basics when it comes to understanding this part.

---

<div class="post-metadata">

**Author:** ![KuroPhoenix7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KuroPhoenix7](https://forums.unrealengine.com/u/KuroPhoenix7)\
**Post date:** [March 29, 2021, 11:21am UTC](https://forums.unrealengine.com/t/communicating-between-scripts/481017/2 "2021-03-29T11:21:25Z")

</div>

Have you tried looking into events?

> **[Actor Communication](https://docs.unrealengine.com/4.27/en-US/ProgrammingAndScripting/ActorCommunication/)**
>
> Overview of the different methods of Actor Communication.

for c++

> **[Events](https://docs.unrealengine.com/4.27/en-US/ProgrammingAndScripting/ProgrammingWithCPP/UnrealArchitecture/Delegates/Events/)**
>
> Delegates that can be bound to multiple functions and execute them all at once.
