> For the complete documentation index, see [llms.txt](https://malbersanimations.gitbook.io/animal-controller/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://malbersanimations.gitbook.io/animal-controller/scriptable-architecture/scriptables/mevent-listener.md).

# MEvent Listener

## Overview

The MEvent Listener Component is a List of [**MEvents** ](/animal-controller/scriptable-architecture/scriptables/mevents.md)**Assets.**&#x20;

It uses Unity Events to send the data received by each [**MEvent** ](/animal-controller/scriptable-architecture/scriptables/mevents.md)to all the components attached to a gameObject.

Is heavily based on the Talk about [**Scriptable Architecture**](https://www.youtube.com/watch?v=raQ3iHhE_Kk) by Ryan Ripple

![](/files/-M-AuDg7mHTnkkhouAi7)

{% hint style="danger" %}
**IMPORTANT:** Events on the List should **NOT** repeat
{% endhint %}

## Properties

![](/files/-M0TdCdLxLdhZ-se2ETe)

When a **MEvent** is selected on the list it will show the Description of the [**MEvent**](/animal-controller/scriptable-architecture/scriptables/mevents.md) on a Green Help Box. You will also gain access to the different type of Responses.

### Void Response

Receive an void value from the  event.

### Bool Response

Receive an bool value from the event.

### Float Response

Receive an float value from the event.

### Int Response

Receive an integer value from the event.

#### Use Advanced Integer&#x20;

By enabling this option the Int Comparer list will be showed. That way you can response to an specific value of the Integer value sent by the event.

![](/files/-M0TfnksxldPx53wfSm2)

### String Response

Receive an string value from the event.

### GameObject(GO) Response

Receive an gameObject value from the event.

### Transform (T) Response

Receive an Transform value from the event.

### Vector3 (V3) Response

Receive an Vector3 value from the event.

### Vector2 (V2) Response

Receive an Vector2 value from the event.
