Phaser API Documentation

  Version: 
sourceWidth: number

Description:

The unscaled width of the Body, in source pixels, as set by setSize(). The default is the width of the Body's Game Object's texture frame.

Type:
number
Since: 3.0.0