# 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://giantgrey.gitbook.io/flowreactor/api/eventboard.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
