get_layer_priority


Description:

[ Version ( since = "1.16" ) ]
public virtual uint32 get_layer_priority ()

Gets the priority of the layer the element is in.

A Group may span several layers, so this would return the highest priority (numerically, the smallest) amongst them.

Parameters:

this

A TimelineElement

Returns:

The priority of the layer this is in, or TIMELINE_ELEMENT_NO_LAYER_PRIORITY if this does not exist in a layer.