Reference API Roblox

Engine API

Website

Related

Reference API Roblox

ApplyShadowMode

Controls which part of a parent UI element a UIShadow applies its drop shadow to.

Items 2

HistoryNameValueDescription
732Shape0

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

732Text1

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

Description

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.

History 3

Settings