Phaser.Point.parse

static method that will take an object of any kind and return a new point based on the x & y properties of that object.

optional x & y property names can also be supplied