@veeeralp Are you using the orientationChanged()
function? This gets called when Codea detects a change and can be used to reset any things that need to take note of the change. I use it in my UI class to ensure that the UI elements adjust to the new screen.
.@Reefwing check your PM