Skip to Content
Kinemium

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 = viewport

Properties

PropertyTypeAccessDefaultDescription
EnabledbooleanRead/writetrueWhether the magnifier renders.
ZoomnumberRead/write1.5Magnification, minimum 1.
InsetnumberRead/write12Inset in pixels, clamped to 0 or above.
TransparencynumberRead/write0Transparency, clamped to 0 through 1.

Notes

  • Zoom below 1 is raised to 1, so the effect never shrinks content.
  • Inset never goes negative.
  • The effect applies to the parent GUI object.
  • Cloning copies all four settings.

See also

  • UIBackdrop for blurring the background.
  • UIMotionBlur for directional blur.

On this page