My code is :
var image = cc.Sprite.create(“ball.png”);
The “setContentSize()” in cc.Sprite class doesn’t change the width and height of the image.
Instead it only changes the position of the image on screen.
Is this a bug or the functionality /meaning is different.
Thanks in advance.