Phaser API Documentation

  Version: 

Member of: Phaser.Geom.Line

getPointA([vec2])

Description:

Returns a Vector2 object that corresponds to the start of this Line.

Parameters:

name type arguments description
vec2 Phaser.Math.Vector2 <optional>

A Vector2 object to set the results in. If undefined a new Vector2 will be created.

Returns:
Description:

A Vector2 object that corresponds to the start of this Line.

Since: 3.0.0
Source: src/geom/line/Line.js (Line 175)