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
- Search or pick a category. Each line says in plain words what the command does.
- Click a value to fill it in, then “Copy” and paste it into the console (the ` key while playing).
- 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
-
Command Performance & statsstat fpsShows the frames-per-second counter.
stat fps -
Command Performance & statsstat unitShows Frame, Game, Draw, GPU, RHIT and DynRes times — the first step to find what limits your frame rate.
stat unitOur stat unit diagnosis tool reads these numbers for you.
-
Command Performance & statsstat unitgraphDraws the stat unit times as a graph over time.
stat unitgraph -
Command Performance & statsstat gameShows how long the gameplay ticks take.
stat game -
Command Performance & statsstat gpuShows GPU time for the frame, split into passes.
stat gpu -
Command Performance & statsstat scenerenderingGeneral rendering statistics, including draw calls — the starting point for rendering problems.
stat scenerendering -
Command Performance & statsstat initviewsShows how long visibility culling takes and how well it works.
stat initviews -
Command Performance & statsstat lightrenderingShows the time spent rendering lights and shadows.
stat lightrendering -
Command Performance & statsstat memoryShows memory use by engine subsystem.
stat memory -
Command Performance & statsstat animShows the time spent on skeletal mesh animation every tick.
stat anim -
Command Performance & statsstat physicsShows physics performance.
stat physics -
Command Performance & statsstat particlesShows particle system performance.
stat particles -
Command Performance & statsstat streamingBasic statistics of streamed assets, such as textures.
stat streaming -
Command Performance & statsstat levelsShows level streaming: which levels are loaded and their state.
stat levels -
Command Performance & statsstat hitchesLogs hitches — frames slower than the hitch threshold.
stat hitchesThe threshold is t.HitchFrameTimeThreshold.
-
Command Performance & statsProfileGPUMeasures the GPU timings of the current frame and shows them in a window or in the log.
ProfileGPU -
Variable Performance & statst.HitchFrameTimeThresholdHow long a frame must take, in milliseconds, to count as a hitch (default 60 ms).
t.HitchFrameTimeThreshold 50 -
Variable Performance & statsr.RDG.AsyncComputeControls async compute. Turning it off makes stat gpu and ProfileGPU timings easier to read.
r.RDG.AsyncCompute 0Epic notes that overlapping async work distorts GPU timings; switch it back after profiling.
-
Command Performance & statsDumpConsoleCommandsWrites every console variable and command the engine knows to the log.
DumpConsoleCommands -
Variable Frame rate & resolutiont.MaxFPSCaps the frame rate. 0 or less means no cap.
t.MaxFPS 60 -
Variable Frame rate & resolutionr.VSyncTurns VSync on or off — syncing frames to the monitor’s refresh rate.
r.VSync 1 -
Variable Frame rate & resolutionr.ScreenPercentageRenders at a lower resolution and upscales, for speed. The UI stays sharp.
r.ScreenPercentage 70Epic calls 70 a good value for performance with little aliasing.
-
Variable Frame rate & resolutionr.SetResSets the game’s display resolution and window mode. No effect in the editor.
r.SetRes 1920x1080f -
Variable Frame rate & resolutionr.FullScreenModeChooses how fullscreen works when it is requested.
r.FullScreenMode 0 -
Variable Frame rate & resolutionr.DynamicRes.OperationModeTurns dynamic resolution on or off.
r.DynamicRes.OperationMode 2 -
Variable Frame rate & resolutiont.IdleWhenNotForegroundStops the engine using CPU and GPU time while it is not the active window.
t.IdleWhenNotForeground 1 -
Variable Scalability (sg.)sg.ResolutionQualityResolution scale as a percentage of the screen.
sg.ResolutionQuality 75 -
Variable Scalability (sg.)sg.ViewDistanceQualityHow far away objects are still drawn.
sg.ViewDistanceQuality 2 -
Variable Scalability (sg.)sg.AntiAliasingQualityQuality of anti-aliasing (smoothing jagged edges).
sg.AntiAliasingQuality 2 -
Variable Scalability (sg.)sg.ShadowQualityQuality of shadows.
sg.ShadowQuality 2 -
Variable Scalability (sg.)sg.GlobalIlluminationQualityQuality of global illumination (bounced light).
sg.GlobalIlluminationQuality 2Lumen is controlled by this group and Reflections; Epic says Low and Medium disable Lumen features.
-
Variable Scalability (sg.)sg.ReflectionQualityQuality of reflections.
sg.ReflectionQuality 2 -
Variable Scalability (sg.)sg.PostProcessQualityQuality of post-processing such as motion blur, depth of field and ambient occlusion.
sg.PostProcessQuality 2 -
Variable Scalability (sg.)sg.TextureQualityTexture detail and the texture streaming pool.
sg.TextureQuality 2 -
Variable Scalability (sg.)sg.EffectsQualityQuality of effects such as translucency lighting and screen-space reflections.
sg.EffectsQuality 2 -
Variable Scalability (sg.)sg.FoliageQualityAmount of foliage and grass drawn.
sg.FoliageQuality 2 -
Variable Scalability (sg.)sg.ShadingQualityQuality of shading.
sg.ShadingQuality 2 -
Variable Scalability (sg.)sg.LandscapeQualityQuality of landscapes.
sg.LandscapeQuality 2 -
Variable Rendering featuresr.AntiAliasingMethodChooses the anti-aliasing method (the project default; post process volumes and cameras can override it).
r.AntiAliasingMethod 4 -
Variable Rendering featuresr.DynamicGlobalIlluminationMethodChooses the dynamic global illumination method.
r.DynamicGlobalIlluminationMethod 1 -
Variable Rendering featuresr.ReflectionMethodChooses the reflection method.
r.ReflectionMethod 1 -
Variable Rendering featuresr.Lumen.HardwareRayTracingLets Lumen use hardware ray tracing when available; otherwise it uses software ray tracing.
r.Lumen.HardwareRayTracing 1Epic warns of large scene update costs above about 100,000 instances.
-
Variable Rendering featuresr.Shadow.Virtual.EnableTurns Virtual Shadow Maps on or off.
r.Shadow.Virtual.Enable 1 -
Variable Rendering featuresr.NaniteRenders static meshes with Nanite. 0 turns Nanite rendering off.
r.Nanite 0 -
Variable Rendering featuresr.MotionBlurQualityMotion blur quality; 0 turns it off.
r.MotionBlurQuality 0 -
Variable Rendering featuresr.DepthOfFieldQualityDepth of field quality; 0 turns it off.
r.DepthOfFieldQuality 0 -
Variable Rendering featuresr.BloomQualityBloom quality; 0 turns bloom off at no cost.
r.BloomQuality 0 -
Variable Rendering featuresr.SSR.QualityScreen-space reflections and their quality.
r.SSR.Quality 2 -
Variable Rendering featuresr.FogTurns fog on or off.
r.Fog 0 -
Variable Rendering featuresr.VolumetricFogAllows or disallows volumetric fog.
r.VolumetricFog 0 -
Variable Rendering featuresr.Tonemapper.SharpenSharpens the final image in the tonemapper (not on mobile).
r.Tonemapper.Sharpen 0.5 -
Variable Rendering featuresr.ViewDistanceScaleMultiplies every object’s draw distance. Higher draws farther at a cost.
r.ViewDistanceScale 0.8 -
Variable Rendering featuresr.Streaming.PoolSizeSize of the texture streaming pool in MB; -1 uses the default.
r.Streaming.PoolSize 2000 -
Variable Rendering featuresr.ForceLODForces every mesh to one LOD level — handy to check your LODs. -1 is off.
r.ForceLOD 1 -
Variable Rendering featuresfoliage.DensityScaleScales how much foliage is drawn. Foliage types must opt in to density scaling.
foliage.DensityScale 0.5 -
Command View & debugviewmodeSwitches the view mode, like the View Mode menu of the viewport.
viewmode wireframe -
Command View & debugshowToggles a show flag in the game. “show” alone lists all flags and their state.
show collision -
Variable View & debugShowFlag.CollisionForces collision drawing on or off, in the editor and in the game.
ShowFlag.Collision 1 -
Variable View & debugShowFlag.BoundsForces drawing of object bounds on or off, in the editor and in the game.
ShowFlag.Bounds 1 -
Variable View & debugShowFlag.PostProcessingForces post-processing on or off, in the editor and in the game.
ShowFlag.PostProcessing 1 -
Variable View & debugr.Lumen.VisualizeShows what Lumen sees, to debug lighting.
r.Lumen.Visualize 1 -
Variable View & debugp.Chaos.DebugDraw.EnabledDraws low-level physics solver information.
p.Chaos.DebugDraw.Enabled 1 -
Variable View & debugau.3dVisualize.EnabledTurns on 3D audio visualization in the world.
au.3dVisualize.Enabled 1 -
Command View & debugToggleDebugCameraDetaches a free debug camera from the player, to fly around the running game.
ToggleDebugCameraNeeds the Cheat Manager, so not in Shipping builds.
-
Command Cheats (dev builds)slomoChanges how fast time passes. 0.1 is slow motion, 1 normal, 10 ten times faster.
slomo 0.25A Cheat Manager command: not available in Shipping builds.
-
Command Cheats (dev builds)godMakes your pawn invulnerable.
godA Cheat Manager command: not available in Shipping builds.
-
Command Cheats (dev builds)flyLets your pawn fly.
flyUse “walk” to go back. Not available in Shipping builds.
-
Command Cheats (dev builds)ghostLets your pawn fly through walls (no collision).
ghostUse “walk” to go back. Not available in Shipping builds.
-
Command Cheats (dev builds)walkReturns your pawn to walking after fly or ghost.
walk -
Command Maps & screenshotsHighResShotTakes a high-resolution screenshot: a multiple of the screen size, or an exact size.
HighResShot 2Saved to Saved/Screenshots/Windows in your project folder.
-
Command Maps & screenshotsopenLoads a map by name while playing.
open MyMap -
Command Maps & screenshotsexitCloses the game (quit works too).
exit
Nothing matches. Try a shorter word, or “All” categories.
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’sConfig/DefaultEngine.iniare 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.