Before when I used the Selection tool I had some boxes in the top toolbar where I could set x and y positioning and width/height. It somehow has disappeared. How can I get this feature back in y toolbar?
It must've gotten hidden accidentally.
As John pointed out that the OP may have actually been reffering to the Transform Panel
If you are trying to move the shape, you would just have to click on Transform and that will open a panel where you can set the X and Y position of the path, you can also resize it from within that panel