# Take a screenshot at runtime in a specific region

**URL:** <https://forums.unrealengine.com/t/take-a-screenshot-at-runtime-in-a-specific-region/421192>\
**Category:** Community & Industry Discussion\
**Tags:** console-commands, unreal-engine, Tools, bug-report, question\
**Created:** [March 29, 2018, 9:00am UTC](https://forums.unrealengine.com/t/take-a-screenshot-at-runtime-in-a-specific-region/421192 "2018-03-29T09:00:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hidjy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hidjy](https://forums.unrealengine.com/u/Hidjy)\
**Post date:** [March 29, 2018, 9:00am UTC](https://forums.unrealengine.com/t/take-a-screenshot-at-runtime-in-a-specific-region/421192/1 "2018-03-29T09:00:53Z")

</div>

Hi,  
I’m trying to capture a specific region of the screen at runtime.

I found this command :

> **HighResShot**  
> High resolution screenshots ResolutionX(int32)xResolutionY(int32) Or Magnification(float) [CaptureRegionX(int32) CaptureRegionY(int32) CaptureRegionWidth(int32) CaptureRegionHeight(int32) MaskEnabled(int32) DumpBufferVisualizationTargets(int32) CaptureHDR(int32)]
> 
> > Example: HighResShot 500x500 50 50 120 500 1 1 1

It works but only in the editor, outside of Play mode.  
As soon as I try the exact same command at runtime, _it ignores the specified region_ and take a screenshot of the whole screen.

The same thing happens in a packaged game and with the EditorScreenShot command.

Is this a bug ? How can I get arround that ?

Thanks,

**EDIT** : The bug has been reported : UE-57111

---

<div class="post-metadata">

**Author:** ![Jeff\_A](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jeff\_A](https://forums.unrealengine.com/u/Jeff_A)\
**Post date:** [March 29, 2018, 9:07pm UTC](https://forums.unrealengine.com/t/take-a-screenshot-at-runtime-in-a-specific-region/421192/2 "2018-03-29T21:07:21Z")

</div>

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

[https://forums.unrealengine.com/unreal-engine/announcements-and-releases/1410408-unreal-engine-bug-submission-form](https://forums.unrealengine.com/unreal-engine/announcements-and-releases/1410408-unreal-engine-bug-submission-form)

Thanks
