How to use building:getAnimationColor()?
Posted: 08 Jun 2025, 02:20
Hello. I am currently puzzled about the correct usage of function building:getAnimationColor()
I have tried to use it in this way:
Here colorR can get the correct value but the others get nil, so could anyone please teach me the correct way to use it? Thanks.
I have tried to use it in this way:
Code: Select all
local building = Tile.getBuilding(x, y)
local colorR, colorG, colorB, colorA = building:getAnimationColor()