I had noticed that if I create an event listener that the location of event.x or event.y doesn’t scale along with the smaller scale. I was wondering if there was some sort of fix or workaround for it.
local function listener( event ) if ( event.phase == "began" ) then display.getCurrentStage():setFocus( event.target ) elseif ( event.phase == "moved" ) then line.x = event.x elseif ( event.phase == "ended" or event.phase == "cancelled" )then display.getCurrentStage():setFocus(nil) end end touch:addEventListener( "touch", listener )