Skip to content

Pointer-out bug #5867

@rexrainbow

Description

@rexrainbow

Version

  • Phaser Version: 3.60.0, or previous
  • Operating system: win10
  • Browser: chrome, firefox

Description

See this test

  • scene.input.topOnly sets to false,
  • When touch pointer moves out of canvas, 2 game objects are picked,
  • In sortGameObjects method, pointer.camera is undefined -> Uncaught TypeError: Cannot read properties of undefined (reading 'renderList')

This bug won't occur when only 1 game object is pointer-out

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions