# NotificationSettings struct

NotificationSettings struct has very basic settings that will affect how the notification will behave.

You can change the settings from the class defaults in the user widget editor, or override those settings when creating a new widget in code.

* Persistent - Will ignore the display duration and wait for you to manually dismiss the notification (using `RemoveFromParent` native function).
* Display Duration - Determines how much time this notification should be displayed.
* Priority - What is the priority of this notification? Higher priority will have the advantage of being displayed next.
* Can be interrupted - When a new notification is added, this widget can be immediately dismissed to show the new notification that just entered.
* One Per Class - This option will make sure that only one of these notifications can be added to the queue. For example: if a player just leveled up 3 times at once, you only want to show 1 level-up notification but you create the notification as soon as the player leveled up, this will make sure that only 1 notification will be displayed.

<figure><img src="https://765684267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeMDT7jI1SOViaDhhfRbe%2Fuploads%2Fa5jjpjQS9mIaFHbysRjQ%2FNotificationSettingsStruct_Defaults.png?alt=media&#x26;token=f05302d5-f9f9-4692-8521-3b63bbf11791" alt=""><figcaption><p>This is from the class defaults in the UMG editor.</p></figcaption></figure>

<figure><img src="https://765684267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeMDT7jI1SOViaDhhfRbe%2Fuploads%2F1lOiiHoly7jNp50O5Dnm%2FNotificationSettingsStruct.png?alt=media&#x26;token=00de8f7d-00bf-45e7-bf57-c686c72a78dd" alt=""><figcaption><p>Overriding the defaults on create.</p></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://zuberman-studio.gitbook.io/eznotifications-ue-plugin/info/notificationsettings-struct.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.
