Phaser API Documentation

  Version: 
setRectangleDropZone(width, height)

Description:

Sets this Zone to be a Rectangle Drop Zone. The rectangle is centered on this Zones x and y coordinates.

Parameters:

name type description
width number

The width of the rectangle drop zone.

height number

The height of the rectangle drop zone.

Returns:
Description:

This Game Object.

Since: 3.0.0