# Screenshot Functionality

## Overview

The Screenshot feature allows you to capture a screenshot of your application **without the frontend UI elements**. The screenshot is automatically saved on the user’s device.

***

## How to Video

Watch this quick demo on how to use the Screenshot feature in Streampixel.

{% embed url="<https://www.youtube.com/watch?v=0390WLZ_Dgg>" %}

***

## How to Use

Screenshots can be initiated in two ways:

**From Unreal**\
Unreal can send a `{message : 'requestScreenshot'}` message using send pixel streaming response node to the frontend. The frontend captures the current video frame and downloads it directly to the user’s device.

<figure><img src="https://4054772100-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUAxFCxNtDJTPCgUnSsK1%2Fuploads%2FjqICisTR4lbVfibuR9e1%2Fimage.png?alt=media&#x26;token=5afed754-5c9a-4813-8fc0-acfbff77580e" alt=""><figcaption></figcaption></figure>

**From Iframe**\
If Streampixel is embedded inside an iframe, the parent application can send the `{message : 'requestScreenshot'}` message to trigger the same behavior. Refer to [#id-10.-screenshot-message](https://docs.streampixel.io/iframe-integration/stream-control-commands#id-10.-screenshot-message "mention")
