Moving sprite Android

I’m trying to move a Sprite in HTML5 running on the browser works correctly, but compiling for Android sprite disappears, that is, the sprite is moved but is invisible, any ideas?

The code is:

onTouchMoved: function (touch, event) {
		if (moving) {
			var target = event.getCurrentTarget();
			var delta = touch.getDelta();
			target.x += delta.x;
			target.y += delta.y;			
			cc.log("x: " + target.x + " y: " + target.y);
		}		
	}

thanks :smile:

Works,

apparently was a target.updateTransform code (); that was causing the sprite disappear.

Now is working perfectly :slight_smile: