PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

Transparency

Decal

float

Determines the transparency of the Decal with 0 being completely opaque and 1 completely transparent.

Note, Decals also respect the transparency of the original image file uploaded to Roblox. This means transparency can be changed prior to uploading to Roblox, and without the need to use the Transparency property.

Decal/LocalTransparencyModifier acts as a multiplier for the Decal’s transparency and should be used when the transparency of the decal is likely to be changed by another script, as is the case with player Characters.

For BaseParts, see BasePart/Transparency.


Code Samples


Fading Decal

The code below will create a transparent Part with a decal that will fade in and out using TweenService and Decal/Transparency.