synthsin75 wrote:You need to cast the layer as a group type first.
local group = moho:LayerAsGroup(layer)
group:Countlayers()
Thank you!!!!
synthsin75 wrote:You need to cast the layer as a group type first.
local group = moho:LayerAsGroup(layer)
group:Countlayers()