Instances
UIBlur
Blurs the rendered 3D scene behind its parent GUI object while leaving the parent GUI foreground sharp.
Properties
| Name | Type | Description |
|---|---|---|
Colour | Colour3 | Tint applied to the blurred backdrop. Color is an alias. Default: Colour3.fromRGB(255, 255, 255). |
Enabled | boolean | Controls whether the backdrop blur is rendered. Default: true. |
Size | number | Gaussian backdrop blur amount from 0 through 256. Default: 32. A value of 0 keeps the UIBlur region active but shows the unblurred 3D backdrop. |
Transparency | number | Blends the blur effect back toward the unblurred scene. Range: 0 through 1. Default: 0. |
UIBlur affects rendering only while directly parented to a
Frame, TextLabel or TextButton. The blur is clipped to the parent bounds and follows its UICorner radii.The 3D scene behind the parent is filtered before the parent's Skia-rendered background, gradient and text are composited, so the GUI foreground remains crisp. With
Size = 0, the region samples the original scene instead; this can create a clear area through a Lighting BlurEffect.Example
Luau
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 320, 0, 160)
frame.BackgroundTransparency = 0.25
frame.Parent = game:GetService("StarterGui").ScreenGui
local blur = Instance.new("UIBlur")
blur.Size = 48
blur.Colour = Colour3.fromRGB(255, 255, 255)
blur.Transparency = 0
blur.Enabled = true
blur.Parent = frame