Gets a layer by its index. It retrieves it from the current selected layers whether it's the main layers or the temp layers.
The index of the layer to get.
The layer within the current selected layers.
See Implementation
Gets a layer by its index. It retrieves it from the current selected layers whether it's the main layers or the temp layers.