Stacking notifications like this?

I want to do a notification system similar to Asylum Life but im not sure how they know if theres already a notification and if there is, stack the other notification on top of it like in the screenshot
image

1 Like

Use a UIListLayout

2 Likes

You don’t need to use any of that logic.

It’s simple:

  • Create a UIListLayout and make sure it is parented to the same GUI object (most likely a frame) that you want the notifications to be parented to.
  • Set the UIListLayout’s VerticalAlignment property to Bottom if you want the notifications to go from the bottom to the top (your case), or Top if you want the notifications to go from top to bottom.
  • Then, all you need to do is parent notifications to the frame which contains the UI list layout.

No code required.

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.