C# multiply Color

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Supatier

Hi
I want to multiply a Color with an integer. Godot wont allow me to do it directly without decomposing.
color * 5 WOnt work.
new Color(color.r * 5, color.g * 5, color.b * 5, color.a * 5) Works.