# How get Project Settings values?

**URL:** <https://forums.unrealengine.com/t/how-get-project-settings-values/307768>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [February 23, 2015, 4:30am UTC](https://forums.unrealengine.com/t/how-get-project-settings-values/307768 "2015-02-23T04:30:07Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Cubes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cubes](https://forums.unrealengine.com/u/Cubes)\
**Post date:** [April 16, 2015, 10:59pm UTC](https://forums.unrealengine.com/t/how-get-project-settings-values/307768/4 "2015-04-16T22:59:18Z")

</div>

While I can’t teach you how to code in CPP in a UE4 answers comment, I can give some snippets. There are tons of programming guides on the UE4 help site and forums to get started with UE4 programming.

I assume you want this generally available in your project, so you need to add this to a Blueprint function library. In the header file of the class you made, first extend your class by UBlueprintFunctionLibrary (replacing UMyBlueprintLibrary with your class name):

```
UMyBlueprintLibrary : public UBlueprintFunctionLibrary

```

You might need to add “#include “Kismet/BlueprintFunctionLibrary.h”” before the other includes if it moans about UBlueprintFunctionLibrary.

In the “public:” section, create a new UFUNCTION like so:

```
UFUNCTION(BlueprintCallable, Category="Game Config")
static FString GetAppVersion();

```

Then in the CPP file, create the actual function:

```
FString UMyBlueprintLibrary::GetAppVersion() {
	FString AppVersion;
	GConfig->GetString(
		TEXT("/Script/EngineSettings.GeneralProjectSettings"),
		TEXT("ProjectVersion"),
		AppVersion,
		GGameIni
	);
	return AppVersion;
}
```

---

_[View the full topic](https://forums.unrealengine.com/t/how-get-project-settings-values/307768)._
