Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i make a GUI stack on-top of each other?

Asked by 4 years ago

How would i make a UI stack on-top of each other? Like a small notification screen, Then another notification screen comes up and tweens on-top of the other already existing notification screen

0
add my disc and ill tell you, HugoRoblox #4646 ii_Hugo013 -5 — 4y
0
like what do you mean? so you put gui's on top of each others? ii_Hugo013 -5 — 4y

2 answers

Log in to vote
0
Answered by
pwx 1581 Moderation Voter
4 years ago
Edited 4 years ago

You could try get current UIs by using :GetChildren() then using it's position to reposition by 'X'.

Like so:

local movmentPosition = -30 -- change - to 30 if you want it going down, but keep it minus for up. Change value accordingly for how far up/down you want it.

for _,v in pairs(NotifcationFrame:GetChildren()) do -- change to where your notifcations are located
    if v:IsA('TextLabel') then -- change this to what you are using as a notification 
        v.Position = v.Position + UDim2.new(0,0,movmentPosition,0)
    end
end

If you get stuck and need help feel free to add my Discord: Josh K#2740

0
Thanks. :) iiClearlyDeveloper 59 — 4y
Ad
Log in to vote
0
Answered by 4 years ago

Insert a frame ( or what you want ) into the "StarterGui". Then you can add your decorations to the first frame, etc and add a new position to a new frame and make the position over the other gui. If you want a script please ask me at discord ( HugoRoblox #4646 ). I didn't really get your question but if your question was to add gui's on top off each others then this is the answer.

Answer this question