Altium : Place components in a square with one command
Is this what you're looking for?

Arrange Components Within Rectangle

I highly recommend reading some of Altium's techdocs. They clearly explain all of the features included in the Altium package. They're very useful, and will pop up as one of the top hits on Google if you search for your question or for a specific tool. They should be your go-to, not the EE Stack Exchange. Do some research yourself first before asking your questions here. Right now you're just cluttering up the board.