Phaser API Documentation

  Version: 

Member of: Phaser.Geom.Point

<static> CopyFrom(source, dest)

Description:

Copy the values of one Point to a destination Point.

Parameters:

name type description
source Phaser.Geom.Point

The source Point to copy the values from.

dest Phaser.Geom.Point

The destination Point to copy the values to.

Returns:
Description:

The destination Point.

Since: 3.0.0
Source: src/geom/point/CopyFrom.js (Line 7)