Making ball and rectangle solid

I just move the whole block and now it moves at first but it’s like something is stopping it from moving .

This is what I moved :

-- Use an enterFrame listener to limit range of paddle function rectangle.enterFrame( self ) -- Keep in center horizontall.y -- There are cleaner ways to do this; I'm not bothering as this will -- work for now. self.x = display.contentCenterX -- Limit Y position if( self.y \< display.contentCenterY - 200 ) then self.y = display.contentCenterY - 200 self:setLinearVelocity(0,0) elseif( self.y \> display.contentCenterY + 200 ) then self.y = display.contentCenterY + 200 self:setLinearVelocity(0,0) end end;