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

---
title: "CScriptComponent"
navbar: dynamic
asidebar: hide
---
# CScriptComponent

Schema class in module `entity2`.

## Summary

- Kind: `class`
- Module: `entity2`
- Size: `56 (0x38)`
- Size bytes: `56`
- Parent: `CEntityComponent`
- Inherited fields: `0`
- Product: Counter-Strike 2

## Inheritance

- [CEntityComponent](/cs2/dumped_data/schema/entity2/CEntityComponent) (class)
- [value.DeclaredClass](/cs2/api_reference/engine/value#valuedeclaredclass) (class)

## Own Fields

| Field | Type | Offset | Bits | Default | Metadata |
| --- | --- | --- | --- | --- | --- |
| `m_scriptClassName` | [string](/cs2/api_reference/lua/base#string) | 48 (0x30) | - | - | `MNotSaved` |

## Inherited Fields From CEntityComponent

No fields.

## Referenced By

| Name | Field | Module | Relation |
| --- | --- | --- | --- |
| [CEntityInstance](/cs2/dumped_data/schema/entity2/CEntityInstance) | `m_CScriptComponent` | entity2 | - |

