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

# Get Random N Traits

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-9f8a28d2a1ee762370344651d98bac4e595c5e5d%2Fget-random-n-traits.png?alt=media)

## Description

Gets N traits from the Trait List at random.

## Node Type

Nodes fall into two basic categories: Data and Execution. This node supplies Data for an Execution node.

## Inputs

| Input       | Type       | Required | Description                                  |
| ----------- | ---------- | -------- | -------------------------------------------- |
| Trait List  | Trait List | Yes      | A list of traits to pull random traits from. |
| Trait Count | Number     | Yes      | Max random traits to pull from the list.     |

## Outputs

| Output         | Type       | Description                |
| -------------- | ---------- | -------------------------- |
| New Trait List | Trait List | List of the random traits. |

\
\
**Contributors**

AddiCt3d 2CHa0s
