Hiding sections


I have two sections. In desktop view, I’d like section 1 to be visible while section 2 is hidden. In mobile view, I’d like section 2 to be visible while section 1 is hidden. Is this possible?

it’s possible with when scroll into the view interaction
When scroll into section-1 hide section trigger to section-1 and also this only for desktop
in mobile when section-2 scroll into view hide first section-1