Set game quality||doc135719

September 20, 2022

Format

 GameSettings:setCurQualityLevel(level) 

Description

Set the game quality by setting the quality level.


This interface needs to be called after the client is loaded to be effective.

Parameters

Variable name type Description
level int Image quality level (0-2)


Code Samples

local bindableEvent = Event:GetEvent("OnClientInitDone")
bindableEvent:Bind(function()
    Blockman.Instance().gameSettings:setCurQualityLevel(1)
end)