Phaser API Documentation

  Version: 

Member of: Phaser.Math.Vector3

up()

Description:

Set this Vector to point up.

Sets the y component of the vector to 1, and the others to 0.

Returns:
Description:

This Vector3.

Since: 3.0.0
Source: src/math/Vector3.js (Line 77)