Lockrotation()

Now that there is a full screen mode it may be advantageous to lock the rotation. Granted you can always have the use lock rotation manually but having it in the code may be useful.

x = lockrotation() --returns true/false, default being false

Locrotation(true) – locks rotation

Having something that takes advantage of the autorotation when using Codea sideways may also be helpful. But, I haven’t given it enough thought for a suggestion.

We will add something like this, it’s very easy to integrate. Just need to wait until 1.2.7 is sorted out with Apple.