Curtains (RPGMV)

Hi!
I'm having little problem with something I want to do in the RPG Maker MV, and i'm looking for some help...

The thing is that i wanna do an event where i can open and close the curtains of a window as much as i want, but I don't know how to do it. I mean... I wanna know how to make 2 event page's repeat; like, first 1, then 2, then 1 again, and so on...

I explaned myself? Xd If there's something that doesn't make sence, let me know and I'll explain it in other way ^^ Thx <3

(And sorry if something is bad or weird written, somethimes my english is pretty bad, hehe...)
Make a two page event, set both to action button, set the second to Self Switch A. Have one page be the closed graphic, have the second be the open graphic. Page 1 turns on Self Switch A, page 2 turns it off.
OOOOHH! I got it! Thank u sooooooooooo so much 😀 Really!!

Original thread: https://forums.rpgmakerweb.com/threads/curtains-rpgmv.114579/