It is well demonstrated over here: http://labs.phaser.io/edit.html?src=srcgame%20objectscontainerparent%20matrix.js