SPRITE(L, [#]n)

Returns the layer number of active sprites number n