Hi!
I’m trying to find the color & transparency of the top bar to make a GUI match with it.
What are the topbar’s settings?
Thanks in advance,
Mehdi
Hi!
I’m trying to find the color & transparency of the top bar to make a GUI match with it.
What are the topbar’s settings?
Thanks in advance,
Mehdi
Color3.fromRGB(31,31,31)
with transparency of 0.5
They are set in a module! Here are the lines that you might need:
TopbarConstants.TOPBAR_BACKGROUND_COLOR = Color3.fromRGB(31,31,31)
TopbarConstants.TOPBAR_OPAQUE_TRANSPARENCY = 0
TopbarConstants.TOPBAR_TRANSLUCENT_TRANSPARENCY = 0.5
Location: game.CoreGui.RobloxGui.Modules.TopBarConstants. It have some stuff of the TopBar.
I hope this helps you!
Sorry for the revive but it seems like this method is outdated;
Not sure if their message had a typo but it looks like the path to the config file is now different,
It seems like now we get a runtime error for even attempting to access game.CoreGui within a script.
Searching “topbar coregui colour roblox” on Google only really shows this post + this post, supposedly explaining how to manually read transparency/colour properties, which obviously isn’t ideal for futureproofing.
Does anyone know if there’s an updated way to read the topbar constants within a script like this user mentioned was possible 5 years ago? (yikes) I’m attempting to do the exact same thing as the original post
EDIT: Searched “color transparency topbar coregui roblox”, all I found was this method for transparency… which is deprecated;
The only thing the doc page mentions that I can see is just disabling the topbar entirely with StarterGui’s SetCore method.
After the Roblox UI revamp, the topbar is always fully transparent, so getting or setting the topbar’s transparency is redundant.
sorry, I recognise you’re definitely correct, I meant to say the colour/transparency of the buttons/trays that now exist in the topbar to create my own.
I remembered TopbarPlus exists and I’ll try seeing how/if they actually automatically update the colour/transparencies of the gui you can make with their module, or just use their module for my usecase instead.