How do I replicate the 'deliveroo app' horizontal nav scroll (auto) nav scroll when you move down the page

I am looking to prototype an idea - basically using the same pattern as the deliveroo app - whereby you scroll down and the nav above across across horizontally to show what section you are in… Does anyone know how to prototype this in Figma??

EXAMPLE IS HERE - Deliveroo horizontal tab nav interaction - YouTube