So lets say i have an object and it show up like normal with this code…
function scene:create( event ) local sceneGroup = self.view local box = display.newImageRect( "box.png", 1080, 1920) end
But when i add sceneGroup:insert(box) it makes the box disappear
function scene:create( event ) local sceneGroup = self.view local box = display.newImageRect( "box.png", 1080, 1920) sceneGroup:insert(box) end
any idea why?
and Btw thats is like the only code i have in that lua file… including all the other things to make it work… like composer and stuff…
thanks!