Phaser API Documentation

  Version: 
path(x, y)

Description:

Creates a new Path Object.

Parameters:

name type description
x number

The horizontal position of this Path.

y number

The vertical position of this Path.

Returns:
Description:

The Path Object that was created.

Since: 3.0.0
Source: src/curves/path/Path.js (Line 859)