The error is happening on the second line! Whats going on? I need to be able to remove Self
Attempt to perform arithmetic on field ‘y’ (a nil value)
local function backgroundScroll(self,event) self.y = self.y - self.speed if self.y \> W1\*0.2 then display.remove(self) end end Runtime:addEventListener("enterFrame", myCircle) myCircle.enterFrame=backgroundScroll