> 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-buddy-amount.md).

# Get Buddy Amount

The Get Buddy Amount Node returns the amount of Buddies currently available in the Buddy Settings Asset.

<figure><img src="https://1693557609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7oowhN4HFDtKmcHKVKlT%2Fuploads%2FkjvwUpTiu5QDGobjK4Bj%2Fimage.png?alt=media&amp;token=9f34b769-6be1-400c-9430-86571bc66a70" alt=""><figcaption></figcaption></figure>

This node is especially useful in conjunction with the For Loop Node, allowing for quick iteration through all Buddies.

Note that this counts all Buddies currently existing withint the Settings Asset, including Buddies that haven't been spawned in.

#### Inputs

**Filter:** Decides which Buddies should be Counted. All Buddies counts every Buddy in the Buddy Settings, Only Spawned Buddies only counts Buddies currently spawned in the scene, and Only Despawned Buddies counts the Buddies that are in the Settings but aren't currently in the Scene.

#### Outputs

**Amount (Int):** The amount of Buddies currently available in the Buddies Settings Asset.
