OverlayBase

OverlayBase : Instance

Overview

Properties

Enabled

bool

Indicates whether the overlay is currently visible and active. When set to true, the overlay will be rendered in the scene.

Code Samples

local Outline = script.Parent

Outline.Enabled = false

Adornee

Instance

Specifies the target Instance to which the overlay is attached. The overlay will render relative to this adornee's position and orientation in the 3D world.

Code Samples

local Outline = script.Parent

local Workspace = game:GetService("Workspace")
local Part = Workspace:WaitForChild("Part")

Outline.Adornee = Part 

Methods

Events

Last updated