> For the complete documentation index, see [llms.txt](https://kb.heathen.group/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.heathen.group/old-kb/old-toolkit-for-steamworks/unreal/blueprint-nodes/functions/has-friend.md).

# Has Friend

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

Check if the user meets the specified criteria. (Friends, blocked, users on the same server, etc)

### Steam Id

The user you want to check if it is a friend (with flag) of the local player.

### Flag

The criteria to check if the indicated friend is part of. This is a [UEFriendFlags ](/old-kb/old-toolkit-for-steamworks/unreal/blueprint-nodes/enumerators/uefriendflags.md)value.

### Return Value

**true** if the specified user meets any of the criteria specified, otherwise, **false**.

## Nodes

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