get_layer


Description:

public Layer? get_layer (uint priority)

Retrieve the layer whose index in the timeline matches the given priority.

Parameters:

this

The Timeline to retrieve a layer from

priority

The priority/index of the layer to find

Returns:

The layer with the given priority, or null if none was found.

Since 1.6