codeAPI Reference
May 4, 2026
s&box DamageInfo: Extensible Damage Data Class and IDamageable Interface
s&box DamageInfo: Extensible Damage Data Class is a class (not a struct) so it can be subclassed for game-specific damage types. Definition Usage IDamageable In…
codeAPI Reference
May 20, 2026
SceneTraceResult: All Fields and Properties from Trace Hits
is returned by and contains all information about a trace hit. Key Fields Common Usage Pattern
codeAPI Reference
May 12, 2026
s&box SelfCollisionSound: Single-surface collision sounds
SelfCollisionSound Component API Reference SelfCollisionSound is a Component that plays collision sounds only from this object's surface, preventing duplicate s…
codeAPI Reference
May 3, 2026
Sandbox.Light
Sandbox.Light Illuminates the scene. Overview Light component adds dynamic lighting to GameObjects. Supports point, spot, and directional lights. Setup Light Ty…