Layer Mask Question

Hi there!

my game is 2D Sprite Renderer
and I rally want to make a sky system with day/night and stars

so I have a black sprite above everything to make them dark,
it similar to no light

and I really want to make a stars above only the sky,
so they are bright without intercept by black sprite, they are won’t dark


and this is big issue…

if a star can above a sky and black sprite , But they still under props or scene objects such as mountain or trees, But the props or scene objects are even still behind black sprite…

is this possible to use some sorting mask?

Thanks!