Phaser API Documentation

  Version: 
onFloor()

Description:

Whether this Body is touching a tile or the world boundary while moving down.

Returns:
Description:

True if touching.

Type:
  • boolean
Since: 3.0.0