UIMagnifier
Zoom the content behind a GUI element.
UIMagnifier renders a magnified view of the area behind its parent. It's useful for accessibility and inspection overlays.
Getting started
local magnifier = Instance.new("UIMagnifier")
magnifier.Zoom = 2
magnifier.Inset = 16
magnifier.Parent = viewportProperties
| Property | Type | Access | Default | Description |
|---|---|---|---|---|
Enabled | boolean | Read/write | true | Whether the magnifier renders. |
Zoom | number | Read/write | 1.5 | Magnification, minimum 1. |
Inset | number | Read/write | 12 | Inset in pixels, clamped to 0 or above. |
Transparency | number | Read/write | 0 | Transparency, clamped to 0 through 1. |
Notes
Zoombelow1is raised to1, so the effect never shrinks content.Insetnever goes negative.- The effect applies to the parent GUI object.
- Cloning copies all four settings.
See also
UIBackdropfor blurring the background.UIMotionBlurfor directional blur.
