fromSprite(startSprite, endSprite, useCenter) → {Phaser.Line}
Sets the line to match the x/y coordinates of the two given sprites.Can optionally be calculated from their center coordinates.
Parameters
Name Type Argument Default Description startSprite Phaser.Sprite The coordinates of this Sprite will be set to the Line.start point. endSprite Phaser.Sprite The coordinates of this Sprite will be set to the Line.start point. useCenter boolean <optional> false If true it w