Widget slider

Hello guys.
So I have this problem. I am making a main menu of my game and I am almost done but there is one problem. I can’t figure out how to make a slider that will move my settings menu.Like a slider on a website or wherever. Any advice?