# Graph Events

Graph events are local events which can be called using the CallGraphEvent method on the LogicGraph data object or the LogicController component. Use the GraphEventListener node to listen to these events.

1. Create new graph event in the **Graph Events** tab

<div align="left"><figure><img src="https://2348672745-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIoqF5QAgQsqxrjmTIKpE%2Fuploads%2FzgyIsR2E85dcdKmOU4nW%2FnewGraphEvent.png?alt=media&#x26;token=cb9642be-577f-4d26-bb18-35c977f916ba" alt=""><figcaption></figcaption></figure></div>

2. Create **GraphEventListener** node and select the event.

<div align="left"><figure><img src="https://2348672745-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIoqF5QAgQsqxrjmTIKpE%2Fuploads%2FCNehrWGfs3XyWAWix19y%2FnewGraphEventNode.png?alt=media&#x26;token=4adb8124-5ae7-4f01-ba63-16d0336afc2a" alt=""><figcaption></figcaption></figure></div>

3. Call event by code.

```csharp
public LogicGraph graph;

graph.CallGraphEvent("MyEvent");
```
