PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. Instead, you should go to our new and improved documentation. You can also learn more about the future of documentation.
Collapse Sidebar

Transparency

UIGradient

NumberSequence

The Transparency of a UIGradient describes how “see-through” the parent UI element will be along the provided NumberSequence. This property works in a similar manner to Beam/Transparency or Trail/Transparency, except that it applies over an on-screen distance determined by the UIGradient/Offset|Offset and UIGradient/Rotation|Rotation of the UIGradient. The image below shows the linear interpolation of three transparency values:

How the UIGradient Transparency NumberSequence applies transparency to a GuiObject

Note: the envelope values of the datatype/NumberSequenceKeypoint|NumberSequenceKeypoints are ignored.

See Also

  • articles/Applying UIGradients, for more information on creating UIGradient objects and how they work.