MCPcopy Index your code
hub / github.com/phaserjs/phaser / setCollideWorldBounds

Method setCollideWorldBounds

types/phaser.d.ts:110995–110995  ·  view source on GitHub ↗

* Sets whether this Body collides with the world boundary. * * Optionally also sets the World Bounce values. If the `Body.worldBounce` is null, it's set to a new Phaser.Math.Vector2 first. * @param value `true` if this body should colli

(value?: boolean, bounceX?: number, bounceY?: number, onWorldBounds?: boolean)

Source from the content-addressed store, hash-verified

110993 * @returns This Game Object.
110994 */
110995 setCollideWorldBounds(value?: boolean, bounceX?: number, bounceY?: number, onWorldBounds?: boolean): this;
110996 }
110997
110998 /**

Callers 5

Bounce.jsFile · 0.80
createMethod · 0.80
createMethod · 0.80
Body.test.jsFile · 0.80
Bounce.test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected