How to show sticky banner only in one section?

Is there a way to build and show in prototype mode a banner like on https://www.scientificamerican.com/ the banner Free Editorial Newsletter shown? When it’s sticky but only in one section. When you scroll it would stay in this section (frame if using Figma terminology). Here is the the thing in action:
ezgif.com-gif-maker