Skip to content

Class

Capture

Official docs ↗

A class which defines a piece of content, such as a screenshot or video, taken in-experience.

About Capture

Represents a single piece of content — a screenshot or a video — captured within an experience. A Capture records metadata about that content, including when it was taken (Capture.CaptureTime), what kind of content it is (Capture.CaptureType), the place and experience it originated from (Capture.SourcePlaceId and Capture.SourceUniverseId), and where its underlying file is stored (Capture.LocalId and Capture.FilePathString).

Properties 5

  • CaptureTime: DateTimeReadOnlyNotReplicatedThe date and time at which the capture was taken.

    The date and time at which the capture was taken, as a DateTime. It defaults to the moment the Capture is created. This property is read-only.

  • CaptureType: CaptureTypeReadOnlyNotReplicatedIndicates whether the capture is a screenshot or a video.

    Indicates the kind of content the capture holds, as an CaptureType value. Defaults to CaptureType.Screenshot. This property is read-only.

  • LocalId: stringReadOnlyNotReplicatedA temporary local identifier for the capture's stored file.

    A local identifier for the capture's stored file, in the form rbxtemp://<key>. It is empty until the capture has been saved to local capture storage, after which it references the stored file by key. This property is read-only.

  • SourcePlaceId: int64ReadOnlyNotReplicatedThe ID of the place in which the capture was taken.

    The PlaceId of the place in which the capture was taken. Defaults to 0 when the source place is unknown or unset. This property is read-only.

  • SourceUniverseId: int64ReadOnlyNotReplicatedThe ID of the experience in which the capture was taken.

    The universe (experience) ID of the experience in which the capture was taken. Defaults to 0 when the source universe is unknown or unset. This property is read-only.

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