RealDocs

UBlueprintPathsLibrary::ScreenShotDir

function Engine Blueprint Since 4.0
#include "Kismet/BlueprintPathsLibrary.h"
Access: public Specifiers: staticBlueprintPure

Description

Returns the directory the engine writes screenshot files to when a screenshot is captured (e.g. via the console command or the HighResShot system). Equivalent to FPaths::ScreenShotDir() exposed for Blueprint/Python.

Caveats & Gotchas

  • Lives under the Saved tree, so screenshots taken here are excluded from version control and won't ship with a packaged build.
  • This is where screenshots are written to, not a live listing of them — the directory may not exist yet if no screenshot has been taken this session.

Signature

static FString ScreenShotDir();

Return Type

FString

Example

Locate the screenshot directory C++
FString Screenshots = UBlueprintPathsLibrary::ScreenShotDir();
UE_LOG(LogTemp, Log, TEXT("Screenshot dir: %s"), *Screenshots);

Version History

Introduced in: 4.0

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.