Skip to content

Layers's setToTop() method throws an exception: this.getDisplayList is not a function #7014

Closed
@leha-games

Description

@leha-games

Version

  • Phaser Version: 3.87.0
  • Operating system: Windows 10

Description

Calling setToTop() method of Phaser.GameObjects.Layer throws an exceptions: Uncaught TypeError: this.getDisplayList is not a function

Example Test Code

this.add.layer().setToTop();

Additional Information

The getDisplayList() method appears to be missing from the Phaser.GameObjects.Layer class.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions