Limit or stop scroll at certain scroll position

Hello how can I Stop the scrolling at particular scroll position in scroll controls