Variables for resizing content with lateral menu open or close

I am prototyping a slide show kinda of app, and there a lot of pages, I need to open a lateral menu on the side, and push the content accordingly. Is there any way to do it whithout have to create one frame for menu open and another for menu closed?

Hi @Renata_Buzhar1
You may want to take a look at variables. This will allow you in prototype only to hide/display items when you interact with element