ScreenshotHud

Show Deprecated
Not Creatable
Not Replicated

The ScreenshotHud is a 2D user interface that allows users to capture and save screenshots to their local device. It consists of the following UI elements:

  • An overlay containing the experience name and Roblox branding. These remain on screen when a screenshot is taken, although the experience name can be disabled through the ScreenshotHud.ExperienceNameOverlayEnabled property.
  • A camera button that hides all UI except for the overlay and takes a screenshot.
  • A close button that closes the ScreenshotHud.

Code Samples

LocalScript

local GuiService = game:GetService("GuiService")
local screenshotHud = GuiService:WaitForChild("ScreenshotHud")
screenshotHud.ExperienceNameOverlayEnabled = true
screenshotHud.OverlayFont = Enum.Font.GothamMedium
screenshotHud.Visible = true

Summary

Properties

Properties

CameraButtonIcon

ContentId
Read Parallel

Asset ID of the icon used for the camera button.

CameraButtonPosition

Read Parallel

Screen location of the camera button.

CloseButtonPosition

Read Parallel

Screen location of the close button.

CloseWhenScreenshotTaken

Read Parallel

Determines whether the ScreenshotHud closes automatically when a screenshot is taken.

HideCoreGuiForCaptures

Read Parallel

HidePlayerGuiForCaptures

Read Parallel

Visible

Read Parallel

Determines whether the ScreenshotHud is visible.

Methods

Events