0 votes

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.

asked Dec 14, 2019 in Engine by Supatier (55 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.