Instance Property


The sprite’s color.


iOS, Mac Catalyst, tvOS, watchOS
@property(nonatomic, retain) UIColor *color;
@property(nonatomic, retain) NSColor *color;


If the texture property is non-nil, the red, green, and blue values of the color property are blended with the texture before the texture is drawn and the alpha property is ignored. If the texture property is nil, the color (including the alpha component) is used to draw a colored rectangle.

See Also

Tinting a Sprite

Tinting a Sprite

Provide a color and blend factor to additively color your sprite.


A floating-point value that describes how the color is blended with the sprite’s texture.