color(r: number, g: number, b: number): ColorComp
Sets the color of a Game Object (rgb 0-255).
param
r- The red value to set.
param
g- The green value to set.
param
b- The blue value to set.
// blue frog add([ sprite("bean"), color(0, 0, 255), ]);
returns
The color comp.
since
v2000.0