VoyVivika Posted October 3, 2020 Share Posted October 3, 2020 I've searched through the widget documentation and the slider.lua, also googling every combination I can think of to no luck. How do I get the current value of a slider widget? I've tried :GetValue(), :GetSliderValue, :GetSelectedItem() and none of them worked, with the last one always returning something like "index out of range" despite the value i'm putting in being very well within the range I defined (0, 170). I'd also like to know how to Set the value for loading. This is for a simple FOV Slider for my options menu. Quote Link to comment Share on other sites More sharing options...
VoyVivika Posted October 4, 2020 Author Share Posted October 4, 2020 Bumping because I still have no idea how to get a number from the Slider Widget Quote Link to comment Share on other sites More sharing options...
Solution Josh Posted October 4, 2020 Solution Share Posted October 4, 2020 It's just widget:SetSliderValue() and widget:GetSliderValue(). Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
VoyVivika Posted October 4, 2020 Author Share Posted October 4, 2020 4 minutes ago, Josh said: It's just widget:SetSliderValue() and widget:GetSliderValue(). I honestly feel really dumb because I swear I tried that already, but I guess I was typing or doing something wrong because it works. 1 Quote Link to comment Share on other sites More sharing options...
Josh Posted October 4, 2020 Share Posted October 4, 2020 Easy to do. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.