I created an app that asks the user for their name but when the app goes to the next scene the text input box remains visible on all other scenes. I’ve tried to add “mainGroup:insert(nameField)” but it does not work (often giving me errors). any suggestions? Thanks in advance.
local myText = display.newText( "Enter your full name", 500, 350, native.systemFont, 38 ) local nameField = native.newTextField( 500, 400, 320, 36 ) nameField.inputType = "name" mainGroup:insert(myText) mainGroup:insert(nameField)