It looks like you're new here. If you want to get involved, click one of these buttons!
mySprite.x = 20 -- instead of mySprite:setX(20)
xValue = mySprite.x -- instead of xValue = mySprite:getX()