Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mouse Press blocked by Texture below #44052

Closed
Grosskopf opened this issue Dec 2, 2020 · 1 comment
Closed

Mouse Press blocked by Texture below #44052

Grosskopf opened this issue Dec 2, 2020 · 1 comment

Comments

@Grosskopf
Copy link
Contributor

Grosskopf commented Dec 2, 2020

Godot version:
3.2.3

OS/device including version:
Intel Processor on Opensuse Linux, GLES3

Issue description:
I had a button I wanted in front of my background Textures, so I parented it to a Node2D and increased the Node2D's Z value so i could see the Button. I was not able to Press the button until I set the mouse_filter of the Texture in the background to Ignore it.

Steps to reproduce:

create a scene with:

  • control
    • Node2D with Z value 1
      • Button
    • Texture Rect covering the Button's background, mouse_filter set to anything but ignore

see that you cannot press the button even though it is in front of the texture

Minimal reproduction project:
Button_Press_Impossible.zip

@Calinou
Copy link
Member

Calinou commented Dec 2, 2020

Duplicate of godotengine/godot-proposals#788.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants