Phaser API Documentation

  Version: 

Member of: Phaser.Math.Vector2

negate()

Description:

Negate the x and y components of this Vector.

Returns:
Description:

This Vector2.

Since: 3.0.0
Source: src/math/Vector2.js (Line 346)