alignTo(parent, position, offsetX, offsetY) → {Phaser.Group}
Aligns this Group to the side of another Game Object, or Rectangle, known as the'parent', in one of 11 possible positions. The parent must be a Game Object, or Phaser.Rectangle object. This can include propertiessuch as World.bounds or Camera.view, for aligning Groups within the worldand camera bounds. Or it can include other Sprites, Images, Text objects, BitmapText,TileSprites or Buttons. Please note that aligning a Group to anoth