Phaser API Documentation

  Version: 

Member of: Phaser.Structs.Size

<readonly> snapTo: Phaser.Math.Vector2

Description:

A Vector2 containing the horizontal and vertical snap values, which the width and height are snapped to during resizing.

By default this is disabled.

This property is read-only. To change it see the setSnap method.

Since: 3.16.0
Source: src/structs/Size.js (Line 141)