Skip to main content

graphics.set_cvar

Overview

  • Get or set an Unreal Engine console variable directly. If value is omitted, returns the current value. Examples: r.ScreenPercentage, sg.ShadowQuality, r.VSync.

Metadata

FieldValue
DisplaySet Console Variable
Categorygraphics
AccessScriptCheat
ScopeB1Standalone
TagsExperimental
Aliases

Parameters

NameTypeRequiredDefaultDescription
namestringyesConsole variable name (e.g. r.ScreenPercentage)
valuestringnoValue to set (omit to read current value)

Returns

  • Return shape is not declared for this command.

Usage

await inzoi.cli.execute('graphics.set_cvar', {
name: '',
value: '', // optional
});