title: cocos- 2d :How to scroll layer1 across parallax layer
body: <p>I am creating game in cocos 2D .</p>
  
  <p>I have two layers .layer one and layer two.</p>
  
  <p><strong>layer 1 - large background (bg image size - 600 x 360) z:0 <br>
  Layer 2 - parallax layer (world size - 1200 x 360) z:1 <br></strong></p>
  
  <p>I just want background to scroll slightly when my layer 2 is moved . </p>
  
  <p>What should i do to achieve the above thing?</p>
  
  <p>should i set the <strong>layer1</strong> position to <strong>sprite or layer2</strong> postion so that layer 1 sync with layer 2.Any help or suggestion will be appreciated..</p>