# Capture

Roblox Engine API class from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- Inherits from, nearest first: [Object](https://rapi.sleaze.dev/classes/Object.md)
- Subclasses: [ScreenshotCapture](https://rapi.sleaze.dev/classes/ScreenshotCapture.md), [VideoCapture](https://rapi.sleaze.dev/classes/VideoCapture.md)
- Tags: Not creatable, Not replicated
- Memory category: Instances
- HTML page: https://rapi.sleaze.dev/classes/Capture/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/classes/Capture

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

## Properties

### CaptureTime

```luau
Capture.CaptureTime: DateTime
```

- Tags: Read only, Capabilities: Capture, Save only

The date and time at which the capture was taken.

### CaptureType

```luau
Capture.CaptureType: Enum.CaptureType
```

- Tags: Read only, Capabilities: Capture, Save only

Indicates whether the capture is a screenshot or a video.

### FilePathString

```luau
Capture.FilePathString: string
```

- Tags: Read only, Roblox script security, Read capabilities: Capture, Save only

The local filesystem path to the capture's file, as a string.

### LocalId

```luau
Capture.LocalId: string
```

- Tags: Read only, Capabilities: Capture, Save only

A temporary local identifier for the capture's stored file.

### SourcePlaceId

```luau
Capture.SourcePlaceId: number
```

- Tags: Read only, Capabilities: Capture, Save only

The ID of the place in which the capture was taken.

### SourceUniverseId

```luau
Capture.SourceUniverseId: number
```

- Tags: Read only, Capabilities: Capture, Save only

The ID of the experience in which the capture was taken.

## Inherited members

- From [Object](https://rapi.sleaze.dev/classes/Object.md): `ClassName`, `className`, `GetPropertyChangedSignal`, `IsA`, `isA`, `Changed`
