Skip to content

Enum

Enum.HighlightDepthMode

Controls how the Highlight effect displays with respect to other objects in the world.

Official docs ↗
ItemValueSummary
Enum.HighlightDepthMode.AlwaysOnTop0Allows the Highlight to display regardless if there are objects between the camera and the highlighted object. This means the viewer is always able to see the highlight regardless of what is between t
Enum.HighlightDepthMode.Occluded1Hides the Highlight if there are objects between the camera and the highlighted object. This means the viewer is only able to see the object if there are no obstructing objects between the highlighted

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com.