Tools

UE5 console commands & CVars

Searchable stat and r. commands in plain words, with copy buttons and a DefaultEngine.ini generator.

Runs locally — nothing leaves your browser

How to use it

  1. Search or pick a category. Each line says in plain words what the command does.
  2. Click a value to fill it in, then “Copy” and paste it into the console (the ` key while playing).
  3. To keep a setting, press “Add” and copy the ready DefaultEngine.ini lines from “Your settings”.

Find a command

Console commands & variables

Commands do something once (stat fps, viewmode). Variables (CVars) hold a setting until you change it (t.MaxFPS 60) — and only variables can go into an ini file.

72 entries

  • stat fps

    Command Performance & stats

    Shows the frames-per-second counter.

    stat fps
  • stat unit

    Command Performance & stats

    Shows Frame, Game, Draw, GPU, RHIT and DynRes times — the first step to find what limits your frame rate.

    stat unit

    Our stat unit diagnosis tool reads these numbers for you.

  • stat unitgraph

    Command Performance & stats

    Draws the stat unit times as a graph over time.

    stat unitgraph
  • stat game

    Command Performance & stats

    Shows how long the gameplay ticks take.

    stat game
  • stat gpu

    Command Performance & stats

    Shows GPU time for the frame, split into passes.

    stat gpu
  • stat scenerendering

    Command Performance & stats

    General rendering statistics, including draw calls — the starting point for rendering problems.

    stat scenerendering
  • stat initviews

    Command Performance & stats

    Shows how long visibility culling takes and how well it works.

    stat initviews
  • stat lightrendering

    Command Performance & stats

    Shows the time spent rendering lights and shadows.

    stat lightrendering
  • stat memory

    Command Performance & stats

    Shows memory use by engine subsystem.

    stat memory
  • stat anim

    Command Performance & stats

    Shows the time spent on skeletal mesh animation every tick.

    stat anim
  • stat physics

    Command Performance & stats

    Shows physics performance.

    stat physics
  • stat particles

    Command Performance & stats

    Shows particle system performance.

    stat particles
  • stat streaming

    Command Performance & stats

    Basic statistics of streamed assets, such as textures.

    stat streaming
  • stat levels

    Command Performance & stats

    Shows level streaming: which levels are loaded and their state.

    stat levels
  • stat hitches

    Command Performance & stats

    Logs hitches — frames slower than the hitch threshold.

    stat hitches

    The threshold is t.HitchFrameTimeThreshold.

  • ProfileGPU

    Command Performance & stats

    Measures the GPU timings of the current frame and shows them in a window or in the log.

    ProfileGPU
  • t.HitchFrameTimeThreshold

    Variable Performance & stats

    How long a frame must take, in milliseconds, to count as a hitch (default 60 ms).

    t.HitchFrameTimeThreshold 50
  • r.RDG.AsyncCompute

    Variable Performance & stats

    Controls async compute. Turning it off makes stat gpu and ProfileGPU timings easier to read.

    r.RDG.AsyncCompute 0

    Epic notes that overlapping async work distorts GPU timings; switch it back after profiling.

  • DumpConsoleCommands

    Command Performance & stats

    Writes every console variable and command the engine knows to the log.

    DumpConsoleCommands
  • t.MaxFPS

    Variable Frame rate & resolution

    Caps the frame rate. 0 or less means no cap.

    t.MaxFPS 60
  • r.VSync

    Variable Frame rate & resolution

    Turns VSync on or off — syncing frames to the monitor’s refresh rate.

    r.VSync 1
  • r.ScreenPercentage

    Variable Frame rate & resolution

    Renders at a lower resolution and upscales, for speed. The UI stays sharp.

    r.ScreenPercentage 70

    Epic calls 70 a good value for performance with little aliasing.

  • r.SetRes

    Variable Frame rate & resolution

    Sets the game’s display resolution and window mode. No effect in the editor.

    r.SetRes 1920x1080f
  • r.FullScreenMode

    Variable Frame rate & resolution

    Chooses how fullscreen works when it is requested.

    r.FullScreenMode 0
  • r.DynamicRes.OperationMode

    Variable Frame rate & resolution

    Turns dynamic resolution on or off.

    r.DynamicRes.OperationMode 2
  • t.IdleWhenNotForeground

    Variable Frame rate & resolution

    Stops the engine using CPU and GPU time while it is not the active window.

    t.IdleWhenNotForeground 1
  • sg.ResolutionQuality

    Variable Scalability (sg.)

    Resolution scale as a percentage of the screen.

    sg.ResolutionQuality 75
  • sg.ViewDistanceQuality

    Variable Scalability (sg.)

    How far away objects are still drawn.

    sg.ViewDistanceQuality 2
  • sg.AntiAliasingQuality

    Variable Scalability (sg.)

    Quality of anti-aliasing (smoothing jagged edges).

    sg.AntiAliasingQuality 2
  • sg.ShadowQuality

    Variable Scalability (sg.)

    Quality of shadows.

    sg.ShadowQuality 2
  • sg.GlobalIlluminationQuality

    Variable Scalability (sg.)

    Quality of global illumination (bounced light).

    sg.GlobalIlluminationQuality 2

    Lumen is controlled by this group and Reflections; Epic says Low and Medium disable Lumen features.

  • sg.ReflectionQuality

    Variable Scalability (sg.)

    Quality of reflections.

    sg.ReflectionQuality 2
  • sg.PostProcessQuality

    Variable Scalability (sg.)

    Quality of post-processing such as motion blur, depth of field and ambient occlusion.

    sg.PostProcessQuality 2
  • sg.TextureQuality

    Variable Scalability (sg.)

    Texture detail and the texture streaming pool.

    sg.TextureQuality 2
  • sg.EffectsQuality

    Variable Scalability (sg.)

    Quality of effects such as translucency lighting and screen-space reflections.

    sg.EffectsQuality 2
  • sg.FoliageQuality

    Variable Scalability (sg.)

    Amount of foliage and grass drawn.

    sg.FoliageQuality 2
  • sg.ShadingQuality

    Variable Scalability (sg.)

    Quality of shading.

    sg.ShadingQuality 2
  • sg.LandscapeQuality

    Variable Scalability (sg.)

    Quality of landscapes.

    sg.LandscapeQuality 2
  • r.AntiAliasingMethod

    Variable Rendering features

    Chooses the anti-aliasing method (the project default; post process volumes and cameras can override it).

    r.AntiAliasingMethod 4
  • r.DynamicGlobalIlluminationMethod

    Variable Rendering features

    Chooses the dynamic global illumination method.

    r.DynamicGlobalIlluminationMethod 1
  • r.ReflectionMethod

    Variable Rendering features

    Chooses the reflection method.

    r.ReflectionMethod 1
  • r.Lumen.HardwareRayTracing

    Variable Rendering features

    Lets Lumen use hardware ray tracing when available; otherwise it uses software ray tracing.

    r.Lumen.HardwareRayTracing 1

    Epic warns of large scene update costs above about 100,000 instances.

  • r.Shadow.Virtual.Enable

    Variable Rendering features

    Turns Virtual Shadow Maps on or off.

    r.Shadow.Virtual.Enable 1
  • r.Nanite

    Variable Rendering features

    Renders static meshes with Nanite. 0 turns Nanite rendering off.

    r.Nanite 0
  • r.MotionBlurQuality

    Variable Rendering features

    Motion blur quality; 0 turns it off.

    r.MotionBlurQuality 0
  • r.DepthOfFieldQuality

    Variable Rendering features

    Depth of field quality; 0 turns it off.

    r.DepthOfFieldQuality 0
  • r.BloomQuality

    Variable Rendering features

    Bloom quality; 0 turns bloom off at no cost.

    r.BloomQuality 0
  • r.SSR.Quality

    Variable Rendering features

    Screen-space reflections and their quality.

    r.SSR.Quality 2
  • r.Fog

    Variable Rendering features

    Turns fog on or off.

    r.Fog 0
  • r.VolumetricFog

    Variable Rendering features

    Allows or disallows volumetric fog.

    r.VolumetricFog 0
  • r.Tonemapper.Sharpen

    Variable Rendering features

    Sharpens the final image in the tonemapper (not on mobile).

    r.Tonemapper.Sharpen 0.5
  • r.ViewDistanceScale

    Variable Rendering features

    Multiplies every object’s draw distance. Higher draws farther at a cost.

    r.ViewDistanceScale 0.8
  • r.Streaming.PoolSize

    Variable Rendering features

    Size of the texture streaming pool in MB; -1 uses the default.

    r.Streaming.PoolSize 2000
  • r.ForceLOD

    Variable Rendering features

    Forces every mesh to one LOD level — handy to check your LODs. -1 is off.

    r.ForceLOD 1
  • foliage.DensityScale

    Variable Rendering features

    Scales how much foliage is drawn. Foliage types must opt in to density scaling.

    foliage.DensityScale 0.5
  • viewmode

    Command View & debug

    Switches the view mode, like the View Mode menu of the viewport.

    viewmode wireframe
  • show

    Command View & debug

    Toggles a show flag in the game. “show” alone lists all flags and their state.

    show collision
  • ShowFlag.Collision

    Variable View & debug

    Forces collision drawing on or off, in the editor and in the game.

    ShowFlag.Collision 1
  • ShowFlag.Bounds

    Variable View & debug

    Forces drawing of object bounds on or off, in the editor and in the game.

    ShowFlag.Bounds 1
  • ShowFlag.PostProcessing

    Variable View & debug

    Forces post-processing on or off, in the editor and in the game.

    ShowFlag.PostProcessing 1
  • r.Lumen.Visualize

    Variable View & debug

    Shows what Lumen sees, to debug lighting.

    r.Lumen.Visualize 1
  • p.Chaos.DebugDraw.Enabled

    Variable View & debug

    Draws low-level physics solver information.

    p.Chaos.DebugDraw.Enabled 1
  • au.3dVisualize.Enabled

    Variable View & debug

    Turns on 3D audio visualization in the world.

    au.3dVisualize.Enabled 1
  • ToggleDebugCamera

    Command View & debug

    Detaches a free debug camera from the player, to fly around the running game.

    ToggleDebugCamera

    Needs the Cheat Manager, so not in Shipping builds.

  • slomo

    Command Cheats (dev builds)

    Changes how fast time passes. 0.1 is slow motion, 1 normal, 10 ten times faster.

    slomo 0.25

    A Cheat Manager command: not available in Shipping builds.

  • god

    Command Cheats (dev builds)

    Makes your pawn invulnerable.

    god

    A Cheat Manager command: not available in Shipping builds.

  • fly

    Command Cheats (dev builds)

    Lets your pawn fly.

    fly

    Use “walk” to go back. Not available in Shipping builds.

  • ghost

    Command Cheats (dev builds)

    Lets your pawn fly through walls (no collision).

    ghost

    Use “walk” to go back. Not available in Shipping builds.

  • walk

    Command Cheats (dev builds)

    Returns your pawn to walking after fly or ghost.

    walk
  • HighResShot

    Command Maps & screenshots

    Takes a high-resolution screenshot: a multiple of the screen size, or an exact size.

    HighResShot 2

    Saved to Saved/Screenshots/Windows in your project folder.

  • open

    Command Maps & screenshots

    Loads a map by name while playing.

    open MyMap
  • exit

    Command Maps & screenshots

    Closes the game (quit works too).

    exit

Keep them

Your settings

Variables you added with “Add”. Change a value here; every output below updates.

Nothing added yet. Go to Commands and press “Add” next to a variable.

    Config/DefaultEngine.ini — applied every time the game starts

    Console / Execute Console Command node — one line each

    In Blueprints, put one line in the Command pin of an Execute Console Command node, for example on Begin Play.

    C++

    Needs #include "Kismet/KismetSystemLibrary.h".

    How it works

    Where the list comes from

    Every entry was checked against Epic’s documentation for Unreal Engine 5.8: the Console Variables Reference and Console Commands Reference, the Stat Commands, Viewport Modes and Taking Screenshots pages, the Graphics Programming Overview, and the CheatManager API. The descriptions are our plain-language versions of Epic’s. Commands we could not find in the documentation are left out, even popular ones.

    Using them

    • Open the console while playing with the ` key (left of 1). Tab works too.
    • A variable typed without a value prints its current value.
    • Lines under [SystemSettings] in your project’s Config/DefaultEngine.ini are applied every time the game starts.
    • Cheat commands (slomo, god, fly, ghost) need the Cheat Manager, which Shipping builds do not have.
    • Values can differ between engine versions — check with the console if something does nothing.

    Privacy

    Everything runs in your browser. Nothing you enter is sent anywhere.

    Newsletter

    Development updates are coming to your inbox.

    The newsletter opens soon. Until then, new lessons, tools and Beach Hunters progress appear first on our channels, linked below.