Hi have created some buttons from sprite and I added image and button components on it.
I am just using sprites because In my game the camera can be moved on x and y. But I don't want my button to move and since UI buttons move with camera that is why I am not using them.
Here is the GIF to explain the scene:


