[Update] November 5, 2026
Hi Creators!
Since launching UIShadow earlier this year, you’ve been asking for more ways to use it for effects and polish. We heard you, so we’re introducing four exciting additions to UIShadow ![]()
Text shadows: Cast a shadow directly behind your text – great for glowing titles or making words pop.
Inset shadows: Add a shadow on top of and inside an element – great for pressed states or depth effects.
Knockout shadows: Mask the portion of the shadow directly behind the parent – great for glass-like or transparent elements.
Gradient shadows: Apply a color gradient across your shadow – great for multi-tone glows or aura effects.
These new features can be used to build beautiful UI across all kinds of games – whether you’re adding depth to 3D games or making text pop in 2D games. Keep reading for more details!
During this Studio beta period, you can’t publish live experiences with these new UIShadow capabilities. Once we release these features to the client, they will be available to use in-game.
Getting Started
To get access to this feature:
- Navigate to File > Beta Features.
- Find and check the box for Upgraded UIShadows.
- Restart Roblox Studio when prompted.
Once you restart Studio, you can build with new shadow types in Explorer/Properties, the Styling system, and scripting workflows! You can find the following examples and more in this sample placefile: NewUIShadow.rbxl (97.7 KB). For more inspiration on how to build with these, check out our UI modifiers guide here.
Text Shadows
Set Mode to Text to cast a shadow directly from the text in a TextLabel, TextButton, or TextBox. Unlike shape shadows, text shadows follow the contours of each character rather than the element’s bounding rectangle.
Keep in mind that:
Spread,Inset, andShowBehindParenthave no effect in text mode.- You can stack a text shadow and a background shape shadow on the same parent – just add multiple UIShadow instances with different
Modevalues. - You can add multiple text shadows to the same parent.
Inset Shadows
Set Inset to true to render the shadow on top of and inside the parent, rather than behind it. This flips the usual shadow behavior: instead of the element casting a shadow outward, the shadow is drawn inward, creating the illusion of a recessed surface. Use Offset to control the direction of the inset, and BlurRadius to soften the edge. When Inset is true, positive spread values expand the shadow toward the center of the parent instead of outward.
Knockout Shadows
Set ShowBehindParent to false for the parent’s shape to mask the portion of the shadow directly behind it. By default, the full shadow renders – including the area directly beneath the parent – which can cause a visible darkening on transparent or semi-transparent elements. Disabling ShowBehindParent punches out that overlap, so only the visible halo of shadow remains.
Note that this property has no effect when Inset is true or Mode is set to Text.
Gradient Shadows
Add a child UIGradient to a UIShadow to apply a color gradient across the shadow. The gradient applies on top of the shadow’s base Color, giving you fine-grained control over directional fades.
Release Notes
- For best performance, we recommend you don’t draw more than 100 UIShadows on-screen at a given time.
- When adding a text shadow to rich text,
UIShadow.ColorandUIShadow.Transparencyare ignored. We are working on a fix for this.
Made with love
These expanded shadow capabilities were made possible thanks to @luigiburger333, @jaydubs808, @uiuxartist, and @DrRanchDressing. While you try out these new capabilities, we’ll be hard at work continuing to expand our suite of UI capabilities.
We can’t wait to see what you build! As usual, let us know about your experience and if you encounter any issues! ![]()








