> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "MoodAnimationLayer_t"
navbar: dynamic
asidebar: hide
---
# MoodAnimationLayer\_t

Schema class in module `animationsystem`.

## Summary

- Kind: `class`
- Module: `animationsystem`
- Size: `96 (0x60)`
- Size bytes: `96`
- Parent: `value.DeclaredClass`
- Inherited fields: `0`
- Product: Counter-Strike 2

### Metadata

- `MPropertyArrayElementNameKey`: "m\_sName"

## Inheritance

- [value.DeclaredClass](/cs2/api_reference/engine/value#valuedeclaredclass) (class)

## Own Fields

| Field | Type | Offset | Bits | Default | Metadata |
| --- | --- | --- | --- | --- | --- |
| `m_sName` | [string](/cs2/api_reference/lua/base#string) | 0 (0x00) | - | - | `MPropertyFriendlyName`: "Name"<br />`MPropertyDescription`: "Name of the layer" |
| `m_bActiveListening` | [boolean](/cs2/api_reference/lua/base#boolean) | 8 (0x08) | - | - | `MPropertyFriendlyName`: "Active When Listening"<br />`MPropertyDescription`: "Sets the mood's animation buckets to be active when the character is listening" |
| `m_bActiveTalking` | [boolean](/cs2/api_reference/lua/base#boolean) | 9 (0x09) | - | - | `MPropertyFriendlyName`: "Active When Talking"<br />`MPropertyDescription`: "Sets the mood's animation buckets to be active when the character is talking" |
| `m_layerAnimations` | [value.AtomicCollection](/cs2/api_reference/engine/value#valueatomiccollection)&lt;[MoodAnimation\_t](/cs2/dumped_data/schema/animationsystem/MoodAnimation_t)&gt; | 16 (0x10) | - | - | `MPropertyDescription`: "List of animations to choose from" |
| `m_flIntensity` | [value.FixedArray](/cs2/api_reference/engine/value#valuefixedarray)&lt;[number](/cs2/api_reference/lua/base#number), 2&gt; | 40 (0x28) | - | - | `MPropertyDescription`: "Intensity of the animation"<br />`MPropertyAttributeRange`: "0 1" |
| `m_flDurationScale` | [value.FixedArray](/cs2/api_reference/engine/value#valuefixedarray)&lt;[number](/cs2/api_reference/lua/base#number), 2&gt; | 48 (0x30) | - | - | `MPropertyDescription`: "Multiplier of the animation duration" |
| `m_bScaleWithInts` | [boolean](/cs2/api_reference/lua/base#boolean) | 56 (0x38) | - | - | `MPropertyDescription`: "When scaling an animation, grab the scale value as in int. Used for gestures/postures to control number of looping sections" |
| `m_flNextStart` | [value.FixedArray](/cs2/api_reference/engine/value#valuefixedarray)&lt;[number](/cs2/api_reference/lua/base#number), 2&gt; | 60 (0x3C) | - | - | `MPropertyDescription`: "Time before the next animation can start" |
| `m_flStartOffset` | [value.FixedArray](/cs2/api_reference/engine/value#valuefixedarray)&lt;[number](/cs2/api_reference/lua/base#number), 2&gt; | 68 (0x44) | - | - | `MPropertyDescription`: "Time from the start of the mood before an animation can start" |
| `m_flEndOffset` | [value.FixedArray](/cs2/api_reference/engine/value#valuefixedarray)&lt;[number](/cs2/api_reference/lua/base#number), 2&gt; | 76 (0x4C) | - | - | `MPropertyDescription`: "Time from the end of the mood when an animation cannot play" |
| `m_flFadeIn` | [number](/cs2/api_reference/lua/base#number) | 84 (0x54) | - | - | `MPropertyDescription`: "Fade in time of the animation" |
| `m_flFadeOut` | [number](/cs2/api_reference/lua/base#number) | 88 (0x58) | - | - | `MPropertyDescription`: "Fade out time of the animation" |

## Referenced By

| Name | Field | Module | Relation |
| --- | --- | --- | --- |
| [CMoodVData](/cs2/dumped_data/schema/animationsystem/CMoodVData) | `m_animationLayers` | animationsystem | - |

