Hi all,
I’ve just started making my first game with corona sdk and think I’m missing something with making a menu and going back and forth from the screens. I knocked up a couple of images for the menu screen and they all display correctly and that’s fine.
This is my Main.lua file and I have a blank Options.lua file in the correct location. What I am looking to do is go from the main menu screen the location depending on what button is pressed but for this example it will be the options button.
I have watched a lot of videos and read the documentation (I’ve left the failed code out) but I don’t seem to be able to achieve the following:
Appropriately remove the MainMenu screen
Go to the Options Screen
Press a button on this screen to return to the Main Menu screen.
Any help would be much appreciated 
–Main.lua
local composer = require( “composer” )
local scene = composer.newScene()
– Main Menu BackGround
local _W = display.contentCenterX
local _H = display.contentCenterY
local background = display.newRect( _W, _H, display.contentWidth, display.contentHeight )
background.fill = { type=“image”, filename=“Background.png” }
–Main Menu Buttons Group
local Play = display.newImage(“PlayButton.png”, _W, _H*0.6)
local Options = display.newImage(“Options.png”, _W, _H* 0.9)
local HowToPlay = display.newImage(“HowToPlay.png”, _W, _H*1.2)
local LeaderBoards = display.newImage(“LeaderBoards.png”, _W, _H*1.5)
local Shop = display.newImage(“Shop.png”, _W, _H* 1.8)
–Separate File (completely blank) = Options.lua