float GetLayerDepth()/ETHEntity

Gets the layer depth from the entity. The layer depth is used to z-sort layerable entities. More about entity types.