# Stat

{% hint style="success" %}

#### Like what you're seeing?

Support us as a [GitHub Sponsor](/old-kb/where-to-buy/become-a-sponsor.md) and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude.\
\
These articles are made possible by our [GitHub Sponsors](/old-kb/where-to-buy/become-a-sponsor.md) ... become a sponsor today!
{% endhint %}

## Introduction

Steam Stats are a simple concept keyed on the `API Name` of the stat. You would have created the stat in your Steamworks Developer Portal and defined its `API Name` there. You can create a Data Asset to represent your stat in your game content making it easier to manage and work with that specific stat.

You can create a Data Asset in your project for each of your stats

## Create

To create a new Stat Instance select the type StatDataAsset.

<figure><img src="/files/Qumr5mKm7hOIRAbdFBrb" alt=""><figcaption></figcaption></figure>

## Configuration

Select the new stat asset data object and set the API Name to match the value you defined in you Steamworks Developer Portal for the stat.

<figure><img src="/files/10eBxtb7J3ne0R3bHKZT" alt=""><figcaption></figcaption></figure>

## Use

To get started using the stat create a variable in your Blueprint of type Stat Data Asset and set the default value to the desired stat.

<figure><img src="/files/28wCrcgCB6CWo36du4AM" alt=""><figcaption></figcaption></figure>

You can now drag off that variable to access features of the stat for reading and setting values.

<figure><img src="/files/mje0oMgneJcY9MHgXMAO" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.heathen.group/old-kb/old-toolkit-for-steamworks/unreal/data-assets/stat.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
