1 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

ApplyShadowMode

Controls which part of a parent UI element a UIShadow applies its drop shadow to. The default value is ApplyShadowMode.Shape, which casts a shadow from the element's bounding frame. Set the value to ApplyShadowMode.Text to cast the shadow from rendered glyphs instead; this has no effect if the parent element is not a text-rendering object such as TextLabel or TextButton.

Items

NameValueDescription
Shape0The shadow is applied to the parent element's frame.
Text1The shadow is applied to the parent element's text; no-op if the parent is not a text element.

Shape

The shadow is applied to the parent element's frame.

FieldValue
value0

Text

The shadow is applied to the parent element's text; no-op if the parent is not a text element.

FieldValue
value1