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

---
title: "CPulseCell_BooleanSwitchState"
navbar: dynamic
asidebar: hide
---
# CPulseCell\_BooleanSwitchState

Schema class in module `pulse_runtime_lib`.

## Summary

- Kind: `class`
- Module: `pulse_runtime_lib`
- Size: `504 (0x01F8)`
- Size bytes: `504`
- Parent: `CPulseCell_BaseState`
- Inherited fields: `3`
- Product: Counter-Strike 2

### Metadata

- `MPropertyFriendlyName`: "Monitor Observable"
- `MPropertyDescription`: "While active, manage child cursors based on the results of a boolean condition. When the observable result changes, the prior cursor will be canceled and the appropriate outflow will fire a new child cursor. Will monitor continuously until externally canceled."
- `MPulseEditorCanvasItemSpecKV3`: "\{ className = 'IsStateNode' item\_factory = 'BooleanSwitchState' \}"

## Inheritance

- [CPulseCell\_BaseState](/cs2/dumped_data/schema/pulse_runtime_lib/CPulseCell_BaseState) (class)
- [CPulseCell\_BaseYieldingInflow](/cs2/dumped_data/schema/pulse_runtime_lib/CPulseCell_BaseYieldingInflow) (class)
- [CPulseCell\_BaseFlow](/cs2/dumped_data/schema/pulse_runtime_lib/CPulseCell_BaseFlow) (class)
- [CPulseCell\_Base](/cs2/dumped_data/schema/pulse_runtime_lib/CPulseCell_Base) (class)
- [value.DeclaredClass](/cs2/api_reference/engine/value#valuedeclaredclass) (class)

## Own Fields

| Field | Type | Offset | Bits | Default | Metadata |
| --- | --- | --- | --- | --- | --- |
| `m_Condition` | [value.View](/cs2/api_reference/engine/value#valueview) | 216 (0xD8) | - | - | `MPropertyDescription`: "Condition to evaluate when any of its dependent values change."<br />`MPropertyFriendlyName`: "Observable" |
| `m_WhenTrue` | [CPulse\_OutflowConnection](/cs2/dumped_data/schema/pulse_runtime_lib/CPulse_OutflowConnection) | 360 (0x0168) | - | - | `MPropertyDescription`: "Fired when the observable boolean is true, and killed when false."<br />`MPropertyFriendlyName`: "While True" |
| `m_WhenFalse` | [CPulse\_OutflowConnection](/cs2/dumped_data/schema/pulse_runtime_lib/CPulse_OutflowConnection) | 432 (0x01B0) | - | - | `MPropertyDescription`: "Fired when the observable boolean is false, and killed when true."<br />`MPropertyFriendlyName`: "While False" |

## Inherited Fields From CPulseCell\_Base

| Field | Type | Offset | Bits | Default | Metadata |
| --- | --- | --- | --- | --- | --- |
| `m_nEditorNodeID` | [number](/cs2/api_reference/lua/base#number) | 8 (0x08) | - | - | `MFgdFromSchemaCompletelySkipField` |

## Inherited Fields From CPulseCell\_BaseFlow

No fields.

## Inherited Fields From CPulseCell\_BaseYieldingInflow

| Field | Type | Offset | Bits | Default | Metadata |
| --- | --- | --- | --- | --- | --- |
| `m_BaseFlow_OnAfterCancel` | [CPulse\_ResumePoint](/cs2/dumped_data/schema/pulse_runtime_lib/CPulse_ResumePoint) | 72 (0x48) | - | - | `MPulseFGDSkipField` |
| `m_BaseFlow_WhileActive` | [CPulse\_ResumePoint](/cs2/dumped_data/schema/pulse_runtime_lib/CPulse_ResumePoint) | 144 (0x90) | - | - | `MPulseFGDSkipField` |

## Inherited Fields From CPulseCell\_BaseState

No fields.

