Provides global access to core game state, utilities, and operations for S&box.
<para>
The Sandbox.Game class exposes static properties and methods to query and control the running game,
such as checking if the game is running, getting your steamid, taking screenshots, and managing game sessions.
</para>
classSandbox.
staticsealedabstractSandbox.Engine
Examples
// Check if the game is running in the editor
if (Game.IsEditor)
{
// Perform editor-specific logic
}