Page 1 of 1

How to use building:getAnimationColor()?

Posted: 08 Jun 2025, 02:20
by dnswodn
Hello. I am currently puzzled about the correct usage of function building:getAnimationColor()
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()
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.