Reduce the size of layer

Can we reduce the size of the layer according to the sprite size.

sorry didn’t get your intention.

Layer is an abstract thing, it is not visible, nor does it affects its children in any way