colorOverlay property
The color to draw on top of the sprite, null if no color overlay is used.
// Color the sprite red
mySprite.colorOverlay = Color(0x77ff0000);
Implementation
Color? colorOverlay;
The color to draw on top of the sprite, null if no color overlay is used.
// Color the sprite red
mySprite.colorOverlay = Color(0x77ff0000);
Color? colorOverlay;