Attention | Topic was automatically imported from the old Question2Answer platform. | |
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.