Instance Property

size

The dimensions of the sprite, in points.

Declaration

@property(nonatomic) CGSize size;

See Also

Setting a Sprite's Size and Position

Using the Anchor Point to Move a Sprite

Learn how the anchor point affects a sprite's position.

- scaleToSize:

Scales the sprite node to a specified size.

anchorPoint

Defines the point in the sprite that corresponds to the node’s position.