godot change sprite color code example
Example: change color of sprites via scripts in godot
$Sprite.modulate = color(red, green, blue)
# 0 < red < 1
# 0 < green < 1
# 0 < blue < 1
$Sprite.modulate = color(red, green, blue)
# 0 < red < 1
# 0 < green < 1
# 0 < blue < 1