MohoLayer:TotalTimingOffset()

Version added: before 9.5

Return value:

int32 number of frames between the layer's frame zero and timeline frame zero (signed integer)
Get the total timing offset for a layer, accumulating all parent layer offsets.

For example, the layer has an offset of -4 and its only parent layer has an offset of -25 - so the total timing offset is -4 + (-25) = -29

See also MohoLayer:TimingOffset and MohoLayer:SetTimingOffset
<< Back to MohoLayer