How to keep a slider position?

I’m not sure what the problem is. It should work just fine as long as the float variable you are setting/getting in game instance is in 0 - 1 range. : \