Skip to content

Game object on a camera-ignored layer is still touchable #5883

Closed
@rexrainbow

Description

@rexrainbow

Version

  • Phaser Version: v3.60.0
  • Operating system: win10
  • Browser: Chrome, firefox

Description

See this test,

  1. Create a layer game object
  2. This layer game object is ignored by main camera
  3. Create a circle shape game object, with pointer-down event.
  4. Add this circle shape to layer. Because that this layer is ignored by main camera, this circle shape game object child is not visible.

There has another red dot inside the circle shape for clicking. Ideally invisible game object won't be touchable. But the pointer-down event is fired, you can see the log text on a text game object.

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