Phaser API Documentation

  Version: 

Member of: Phaser.Math.Vector2

mirror(axis)

Description:

Reflect this Vector across another.

Parameters:

name type description
axis Phaser.Math.Vector2

A vector to reflect across.

Returns:
Description:

This Vector2.

Since: 3.23.0
Source: src/math/Vector2.js (Line 663)