I have two text displays. they look like this http://prntscr.com/bjlqv6
The code I used to put them there looks like this
ScoreDisplay = display.newText( "Distance 0", 5, 15, native.systemFontBold, 20 ) ScoreDisplay:setFillColor(0) ScoreDisplay.align = "left" ScoreDisplay.anchorX = 0 tempload = loadsave.loadTable("SaveFile.json") table.sort(tempload,function(a,b) return a\>b end) BestDisplay = display.newText( "Best " .. tempload[1], display.actualContentWidth-100, 15, native.systemFontBold, 20 ) BestDisplay:setFillColor(0) BestDisplay.align = "left"
How would I properly attach them to the top left and right corners?