Atomic docs

imgui.SliderFloat

imgui.SliderFloat(label: string, value: number, min: number, max: number, format: string?): (boolean, number)

A slider over a range. Returns whether it changed and the new value.

Example

lua
local changed
changed, fov = imgui.SliderFloat("fov", fov, 0, 180, "%.0f deg")
↑