/Engine/Source/Runtime/Engine/Classes/Kismet/BlueprintPathsLibrary.h
Returns the directory the engine uses to output BugIt files.
screenshot directory
static [FString](API\Runtime\Core\Containers\FString) BugItDir()