why give this error
Posted: Mon Nov 22, 2021 7:18 pm
Code: Select all
function BLABLA:OnMouseDown(moho, mouseEvent)
local layersCount = 0
repeat
local layer1 = moho.document:LayerByAbsoluteID(layersCount)
if layer1 then
layersCount = layersCount + 1
print( layer1:Parent():Name() )
end
until not layer1
...





parent is nil
