How to change the scrollingframes canvas position

I’m creating an ui that has buttons to navigate to a category inside a scrolling frame but when i do so it works and all but if i try on a different resolution it just takes me somewhere else

Basically what’s the most efficent way of changing the canvas position of a scrollingframe


Yeah, I’m having trouble making myself, have you made it work?