Sprite::setTint()
Sets the sprite's tint to the amount.
Examples
Syntax
Java
Scratch
set [color v] effect to (50) set [color v] effect to (10) (20) (50)
Parameters
Name | Data Type | Description |
---|---|---|
hue | float | A hue value in the range of 0 ... 255 |
r | int | A red value in the range of 0 ... 255 |
g | int | A green value in the range of 0 ... 255 |
b | int | A blue value in the range of 0 ... 255 |
Return
void