# Setting up the Notifications

<figure><img src="/files/fgPtNL9dY9AB7YsQxJlu" alt=""><figcaption></figcaption></figure>

## Setup

Setup for adding notifications is simple!

In your prefabs folder you should have a notification canvas. Drag that into your scene.&#x20;

As a child of the Canvas, you should have a NotificationManager with the same named component.&#x20;

<figure><img src="/files/eNtPevC312yI5NRuYj6K" alt=""><figcaption></figcaption></figure>

The manager is what controls the notifications and you have several options. In general, you should leave it as it is.

If your component isn't already set up with the references, set them up as per the screenshot. You'll find the NotificationExample in the Prefabs folder too. You can edit the layout to your own needs.

{% hint style="warning" %}
**Do NOT remove the Vertical Layout Group as this is what controls the Notification stacking. Otherwise all notifications will just appear on top of one another.**&#x20;
{% endhint %}

Depending on your screen resolution, you may need to alter the canvas scaler on the Notification Canvas to your own needs. The resolution it's been developed on is 1920 x 1080 but if you have a smaller or larger screen, this may need altering to look correct on your chosen resolution.&#x20;

Finally on your InventoryMaster component, turn on the **Notifications** tickbox:<br>

<figure><img src="/files/Ph6sOaksZn77tzuEo81f" alt=""><figcaption></figcaption></figure>


---

# 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://malbersanimations.gitbook.io/animal-controller/basic-setup-instructions/setting-up-the-notifications.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.
