Rasagar/Library/PackageCache/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAlive.md

18 lines
902 B
Markdown
Raw Normal View History

2024-08-26 13:07:20 -07:00
# Get Attribute: alive
Menu Path : **Operator > Attribute > Get Attribute: alive**
The **Get Attribute: alive** returns the alive, which is a [standard attribute](Reference-Attributes.md), of a simulated element depending on [Location](Attributes.md#attribute-locations). This Operator outputs whether the simulated element is alive or not.
[!include[](Snippets/Operator-GetAttributeOperatorSettings.md)]
## Operator properties
| **Output** | **Type** | **Description** |
| ---------- | -------- | ------------------------------------------------------------ |
| alive | bool | The value of the alive attribute, based on **Location**.<br/>If this attribute has not been written to, this Operator returns the default attribute value. |
## Details
The value the attribute returns uses the systems space (either local-space or world-space).