Is it possible to rotate display content when the device changes from landscape to portrait?

I have seen some games where the screen content flips from landscape mode to portrait and vice versa when the user is changing the devices positions and now I wonder if there is a way to achieve this in Corona and if so, how?

Thx for your help!

Yes, an event is triggered when the orientation changes. See http://docs.coronalabs.com/api/event/orientation/index.html

Totally missed this one. Thank you!

Yes, an event is triggered when the orientation changes. See http://docs.coronalabs.com/api/event/orientation/index.html

Totally missed this one. Thank you!