> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# imgui.setvsync

> Updates the ImGui renderer's vertical-synchronization preference. The current presentation path stores this preference but does not apply it.

<div className="real-function-page">
  ```lua theme={null}
  imgui.setvsync(enabled: boolean)
  ```

  ## Arguments

  <ParamField path={"enabled"} type={"boolean"} required>
    True to request vertical synchronization; false to request uncapped presentation.
  </ParamField>
</div>
