GameplayBedrockEducation

/fog

Manages a stack of active fog definitions per player, letting you layer atmospheric fog (color, density, distance) for areas or cutscenes. Each push is tracked by a user-provided ID so you can pop or remove it later.

What is /fog used for?

What /fog is for

Manages a stack of fog settings per player — layering atmospheric fog by color, density, and distance.

When to use /fog

Set mood for areas or cutscenes on Bedrock. Each push is tagged with an ID so you can pop or remove that layer later.

Syntax

Parameters

victim
target
Players affected.
action
literal
push / pop / remove.
userId
string
Your label for this fog layer, used to pop/remove it.

Command builder

Fill in the options below to generate a ready-to-paste /fog command.

Players affected.

push / pop / remove.

Your label for this fog layer, used to pop/remove it.

Examples

  • Apply crimson-forest fog, tagged 'spooky'.

  • Remove the fog layer tagged 'spooky'.

Permission level

/fog requires Cheats (op level 2). In single-player you need the world's "Allow Cheats" toggle on. On a multiplayer server you need to be opped — see /op.