body(sprite, color, filled)
Render a Sprites Physics body if it has one set. The body is rendered as a filled or stroked rectangle.This only works for Arcade Physics, Ninja Physics (AABB and Circle only) and Box2D Physics bodies.To display a P2 Physics body you should enable debug mode on the body when creating it.
Parameters
Name Type Argument Default Description sprite Phaser.Sprite The Sprite who's body will be rendered. color string <optional> 'rgba(0,255,0,0.4)' Color o