Moving Wallpaper is pressed the touch event deuryeoyo questions

void HelloWorld::ccTouchesMoved(CCSet *touches, CCEvent *event) // touche move
{
    printf("move");
    CCTouch *touch = (CCTouch *) (touches->anyObject());
    CCPoint location = touch->locationInView(touch->view());    
    location = CCDirector::sharedDirector()->convertToGL(location);

    float map_bg_x = location.x;
    float map_bg_y = location.y;

    //printf("%f, %f\n", map_bg_x, map_bg_y);
    backgroundImg->setPosition( ccp(map_bg_x, map_bg_y) );
}

Click Continue to move around the job heap in the middle is

Click the Move for free if you want to be

Sorry, I cannot understand what you mean?
The source looks OK, but if you just want to move the background with your finger, you had to write some logic in ccTouchesBegan, and calculate the x & y distance from touch point to screen center, then add the distance to the new touch point.