Hi! I'm trying to make a UI element for my game and maybe I'm not looking at it from the right angle but I have no idea how to pin UI elements (sprite objects) on top of the viewpoint so that it doesn't scroll together with everything else on the screen.
I've tried the paralax layer thing but it didn't really work out for me because of how I structure my levels. Is there any other ways to make UI elements?