# Show Notification

<figure><img src="https://765684267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeMDT7jI1SOViaDhhfRbe%2Fuploads%2FgirVOGt49vhzhOAuTQ24%2FNotificationDemo.png?alt=media&#x26;token=b6b36e49-a4b4-41c1-b885-5fd892a7fc93" alt="" width="375"><figcaption><p>The design is only for demonstrating the plugin functionalities.</p></figcaption></figure>

When you want to show a notification, you only need to call and use the `ShowNotification`  function and connect your user widget of type `NotificationWidget` to the function's input.

Use the native UE function CreateWidget to create a notification widget.

NotificationWidget has 2 parameters that are exposed on spawn dedicated to override the default settings of the notification if you need to do so.

* Override Settings - Make a new NotificationSettings struct with your desired settings.
* Use Override Settings - To override the settings tick this boolean.

This will allow you to have default settings for each notification while allowing you to override them if you need to.

## Blueprint

<figure><img src="https://765684267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeMDT7jI1SOViaDhhfRbe%2Fuploads%2FjhS9WUOYPf1hgnQsm8rg%2FBasicCreateWidget_BP.png?alt=media&#x26;token=d557a7e2-297f-4c1f-8584-18da465248d2" alt=""><figcaption><p>This is for demonstration purposed only. You should inherit NotificationWidget in your user widget and pass it in the class input.</p></figcaption></figure>

## C++

```cpp
UNotificationSubsystem::ShowNotification(UObject* WorldContextObject, UNotificationWidget* NewNotification)
```
