{"name":"sliderPosition","title":"sliderPosition","type":"command","url":"https://community.bistudio.com/wiki/sliderPosition","revid":310899,"updated":"2022-05-07T20:31:43Z","groups":["GUI Control"],"status":"ok","games":{"ofp":"1.85","ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofp 1.85","arma3_since":"0.50","description":"Returns current thumb position of CT_SLIDER or CT_XSLIDER with given idc of topmost user dialog.","syntaxes":[{"syntax":"sliderPosition idc","params":[{"name":"idc","type":"Number","type_expr":"Number"}],"returns":{"type":"Number","type_expr":"Number"},"form":"unary","right":{"text":"idc"}},{"syntax":"sliderPosition control","params":[{"name":"control","type":"Control","type_expr":"Control"}],"returns":{"type":"Number","type_expr":"Number"},"form":"unary","right":{"text":"control"}}],"examples":[{"code":["_slidepos1 = sliderPosition 105;"]}],"see_also":["sliderSetPosition"]}