Class · inherits Instance
ScreenshotHud
A 2D user interface that allows users to capture and save screenshots to their local device.
About ScreenshotHud
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.ExperienceNameOverlayEnabledproperty. - A camera button that hides all UI except for the overlay and takes a screenshot.
- A close button that closes the
ScreenshotHud.
Properties 8
CameraButtonIcon
: ContentIdAsset ID of the icon used for the camera button.CameraButtonIconContent
: ContentThe image content used as the icon for the camera button.The image
Contentused as the icon for the camera button on theScreenshotHud. This is theContent-type equivalent of the legacyScreenshotHud.CameraButtonIconproperty and supports asset URIs. When set, the camera button displays the specified image instead of the default icon.CameraButtonPosition
: UDim2Screen location of the camera button.CloseButtonPosition
: UDim2Screen location of the close button.CloseWhenScreenshotTaken
: booleanWhether theScreenshotHudcloses automatically when a screenshot is taken.Determines whether the
ScreenshotHudcloses automatically when a screenshot is taken.HideCoreGuiForCaptures
: booleanWhether Roblox's core GUI is hidden while a screenshot is captured.Determines whether Roblox's core GUI is hidden while a screenshot is captured through the
ScreenshotHud. Defaults totrue, so any enabledCoreGuiTypeelements are hidden for the duration of the capture and restored afterward. A saved capture is only flagged as GUI-free when both this property andScreenshotHud.HidePlayerGuiForCapturesare enabled.HidePlayerGuiForCaptures
: booleanWhether the local player's GUI is hidden while a screenshot is captured.Determines whether the local player's GUI is hidden while a screenshot is captured through the
ScreenshotHud. Defaults totrue, so any enabledScreenGuiinstances under thePlayers.LocalPlayer'sPlayerGuiare hidden for the duration of the capture and restored afterward. A saved capture is only flagged as GUI-free when both this property andScreenshotHud.HideCoreGuiForCapturesare enabled.Visible
: booleanDetermines whether theScreenshotHudis visible.
ScreenshotHud also has every member of Instance. Deprecated and Roblox-only members are hidden.
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.