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

Method setAbove

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

* Move this Game Object so that it appears above the given Game Object. * * This means it will render immediately after the other object in the display list. * * Both objects must belong to the same display list, or parent contain

(gameObject: Phaser.GameObjects.GameObject)

Source from the content-addressed store, hash-verified

18365 * @returns This Game Object instance.
18366 */
18367 setAbove(gameObject: Phaser.GameObjects.GameObject): this;
18368 /**
18369 * Move this Game Object so that it appears below the given Game Object.
18370 *

Callers 1

Depth.test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected