> For the complete documentation index, see [llms.txt](https://streambuddies2.felineentity.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://streambuddies2.felineentity.com/get-random-buddy.md).

# Get Random Buddy

The Get Random Buddy Node returns a random Buddy based on the given Filter.

<figure><img src="https://1693557609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7oowhN4HFDtKmcHKVKlT%2Fuploads%2FyH8Bcp4OJySnjsiBwC2Z%2Fimage.png?alt=media&amp;token=6cec7f1a-1a34-4382-ab44-c0c77714d01f" alt=""><figcaption></figcaption></figure>

Use this node to do things like make random buddies move, spawn or despawn random buddies to cycle them out, or to pick a winner for a lottery.

#### Inputs

**Filter:** What pool of Buddies to choose from. Can be All Buddies, Only Spawned or Only Despawned.

#### Outputs

**Buddy (BuddyData):** A randomly picked Buddy based on the Filter.
