local myTextField = TextField.new(nil, "Hello World!") -- Position the text field at coordinates 40, 100 myTextField:setPosition(40,100) -- make it 5 times bigger myTextField:setScale(5) -- Add the text field to the stage stage:addChild(myTextField)