# ParticleTypeDescriptions

The `ParticleTypeDescriptions` class provides a container for particle type descriptions.

## Properties

| Property | Description                                                                                                                      |
| -------- | -------------------------------------------------------------------------------------------------------------------------------- |
| `count`  | <p><code>(get) count: number (set) (Not Available)</code></p><p>Retrieves the number of existing Particle Type Descriptions.</p> |

## Methods

| Method | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `get`  | <p><code>get(index: number): ParticleTypeDescription</code></p><p>Retrieves the particle type description at that index. The particle type descriptions specify which frames of the sprite sheet the particle should use. From scripting, the frames that the ParticleTypeDescription is using cannot be changed, but the user can change their percentages, i.e if there are 2 particle types, with percentages 0.5 each, the user can change from scripting to make one particle type more dense than the other by changing their fractions, for example to 0.3 and 0.7 respectively.</p> |


---

# 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://sparkar-community.gitbook.io/docs/scenemodule/particletypedescriptions.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.
