Click the G and then click the square you wish to move it to.