I created a pyramid with base 10’ by 10’ and altitude 50’. There are 100 pyramids with a 1’ spacing between them. I want to drag the vertex of each pyramid so that the vertex is located over the origin at the same 50’ altitude.

Is there any way to do this by editing the coordinates of all the pyramid vertices ? (so I dont have to click and drag EACH vertex)