Sprite.color

The global color of the sprite.

This color is modulated (multiplied) with the sprite's texture. It can be used to colorize the sprite, or change its global opacity. By default, the sprite's color is opaque white.

  1. Color color [@property setter]
  2. Color color [@property getter]
    class Sprite
    @property const
    color
    ()

Meta