# Get Friends

{% 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

Gets the list of friends of a given type related to the user.

Heathen exposes the native count and gets methods as well as an array-based implementation.

### Flag

The flag indicates what kind of friends to fetch a list for ... the "Immediate" option is the typical flag used and returns the "normal" friends that you would see in the Steam client's friends list.

Learn more about the different flag options at the link below

{% embed url="<https://partner.steamgames.com/doc/api/ISteamFriends#EFriendFlags>" %}

## Nodes

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

<figure><img src="/files/ElkYMYWeEUIGEJaG0Oxa" 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/blueprint-nodes/functions/get-friends.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.
