💬

Community answer

Collected from the ACE community Discord archive around 2019-07-27. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

Color:setA mutates the color in place

🖼️ RenderingUpdated 2 days ago•0 views
It self-modifies the color object in place (the 'modified color' return is the same object) - Color objects are mutable tables, not immutable values.

Does Color:setA return a new color or modify the original

It self-modifies the color object in place (the 'modified color' return is the same object) - Color objects are mutable tables, not immutable values.

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.