Phaser API Documentation

  Version: 
isCropped: boolean

Description:

A boolean flag indicating if this Game Object is being cropped or not. You can toggle this at any time after setCrop has been called, to turn cropping on or off. Equally, calling setCrop with no arguments will reset the crop and disable it.

Type:
boolean
Since: 3.11.0