# Sandbox.PlatformSettings

Platform-level settings for a game project. These control engine-provided
features like text chat that exist outside of any specific scene.

- Kind: class
- Namespace: `Sandbox`
- Assembly: `Sandbox.Engine`
- Inherits: [Sandbox.ConfigData](/api/Sandbox.ConfigData)

## Constructors

- [`PlatformSettings`](/api/Sandbox.PlatformSettings/.ctor)

## Properties

- [`ChatEnabled`](/api/Sandbox.PlatformSettings/ChatEnabled): Whether the built-in text chat system is enabled for this game.
- [`ChatMaxMessageLength`](/api/Sandbox.PlatformSettings/ChatMaxMessageLength): Maximum length of a single chat message in characters.
- [`ChatShowUI`](/api/Sandbox.PlatformSettings/ChatShowUI): Show the default chat UI overlay. When false, messages are still processed and events still fire, but the built-in overlay is hidden. Use this when implementing a custom chat UI.
- [`SubtitlesShowUI`](/api/Sandbox.PlatformSettings/SubtitlesShowUI): Show the default subtitle UI overlay for sounds with subtitle tracks. When false, the tracks still load and `M:Sandbox.SubtitlesGameObjectSystem.GetActive(System.Collections.Generic.List{Sandbox.SubtitlesGameObjectSystem.Line})` still works, but the built-in overlay is hidden. Use this when implementing a custom subtitle UI.
