# Mobile: save and share a screenshot (Scene Capture Component 2D)

**URL:** <https://forums.unrealengine.com/t/mobile-save-and-share-a-screenshot-scene-capture-component-2d/824827>\
**Category:** Blueprint\
**Tags:** unreal-engine, Android, Blueprint, question\
**Created:** [March 26, 2023, 1:55pm UTC](https://forums.unrealengine.com/t/mobile-save-and-share-a-screenshot-scene-capture-component-2d/824827 "2023-03-26T13:55:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Herlehos](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/herlehos/32/899268_2.png) [@Herlehos](https://forums.unrealengine.com/u/Herlehos)\
**Post date:** [March 26, 2023, 1:55pm UTC](https://forums.unrealengine.com/t/mobile-save-and-share-a-screenshot-scene-capture-component-2d/824827/1 "2023-03-26T13:55:57Z")

</div>

Hi 😃

I am developing a mobile game on UE5 in which the player can take a screenshot of the scene thanks to a “Scene Capture Component 2D”.

Once the screenshot is taken, I want the player to be able to do 2 things:

- Save the screenshot inside the photo gallery of its phone
- Share it on Twitter via a pre-filled Tweet

I can’t find any information on the internet or any node in UE that could help me.

Any ideas?

Thanks for your help! 😄

ps: also, when I save the render target image as a .png on PC, the image do opens, but it is empty (even if it weight like 2Mb), like if the Alpha was at 0 (and it’s not the case). Do you know where it comes from?

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [March 26, 2023, 11:12pm UTC](https://forums.unrealengine.com/t/mobile-save-and-share-a-screenshot-scene-capture-component-2d/824827/2 "2023-03-26T23:12:19Z")

</div>

Hey there @Herlehos! Welcome back to the community! If I’m correct I believe twitter’s API is a REST api so it should be relatively easy to setup once you get accustomed to using APIs. The VaRest plugin makes it a bit easier to call REST api’s from UE. I’ve also got a video to help you get a bit more accustomed to calling an external API but it’s for an AI voice thing, not specifically twitter, you’ll still need to learn what you need to connect on twitter’s side.

**Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.**

> **[VaRest in Code Plugins - UE Marketplace](https://www.unrealengine.com/marketplace/en-US/product/varest-plugin?sessionInvalidated=true)**
>
> Plugin that makes REST communications much easier.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/4/7/a47f505ada065cb883072a46e7768e122b99723f.jpeg "How to connect to an API using Unreal Engine Blueprints | Use case - Replica Studios | UE 4.27") ](https://www.youtube.com/watch?v=5JJvcv7Fr-k)

As for the image saving, this thread might help you out:

> [@Exporting a renderTarget as a PNG?](https://forums.unrealengine.com/t/exporting-a-rendertarget-as-a-png/372217):
>
> But the Targets are created at runtime, so this isn’t an option frowning

Hopefully this will help you out!
