# Eventboard

### Namespace

```csharp
using FlowReactor.EventSystem;
```

### CallEventByName

```csharp
public void CallEventByName(string eventName)
```

Call an event on the referenced Eventboard. Make sure event names are unique.

**Example**

```csharp
using FlowReactor;
using FlowReactor.EventSystem;
 
// reference to eventboard
public EventBoard events;
 
// call the OnEvent1 event in the assigned eventboard
events.CallEventByName("OnEvent1");
```

### Listen to events

{% hint style="info" %}
Use the FlowReactorEventListener component to listen to events. With this component you can easily call public methods on your own custom scripts.
{% endhint %}
