Skip to content

UIShadow

Not yet Class GUI

Renders configurable shape or text shadows for the parent UI instance.

Not implemented yet

This class exists in the current Roblox API but is not implemented in Nova yet. Scripts that reference it will fail at runtime.

0 Nova members · 16 modern Roblox members not implemented yet

Description

UIShadow renders a shadow for its parent UI instance. Key features include:

  • Adjust the shadow's blurriness with BlurRadius.
  • Adjust the shadow's color and transparency with Color and Transparency.
  • Adjust the shadow's position and size relative to the parent with Offset and Spread.
  • Add multiple shadows under the same parent and adjust their render order with ZIndex.
  • Add a shadow to the text in TextLabel, TextButton, or TextBox with Mode.
  • Add an inset shadow with Inset.
  • Hide the part of the shadow directly behind the parent with ShowBehindParent.
  • Apply a gradient to a shadow's color with a child UIGradient.
  • If the parent is rotated with GuiObject.Rotation, the shadow will also be rotated.
  • If the parent has round corners with UICorner, the shadow will also have round corners.

Limitations

  • UIShadow does not support Path2D.
  • You cannot apply textures to a UIShadow.

Inheritance

Object → Instance → UIBase → UIComponent → UIShadow

Properties

Member Signature Summary
BlurRadius BlurRadius: UDim Determines the shadow's blurriness.
Color Color: Color3 Determines the shadow's color.
Enabled Enabled: bool Determines whether the UIShadow is visible.
Inset Inset: bool Determines whether the UIShadow is an inset shadow.
Mode Mode: ApplyShadowMode Determines whether the UIShadow applies to the parent's shape or text.
Offset Offset: UDim2 Moves the shadow relative to the parent's position.
ShowBehindParent ShowBehindParent: bool Determines whether the shadow renders directly behind the parent.
Spread Spread: UDim2 Expands or shrinks the shadow relative to the parent's size.
Transparency Transparency: float Sets the shadow's transparency.
ZIndex ZIndex: int Determines the shadow's render order relative to sibling UIShadow instances.

Roblox reference: UIShadow

Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.