Godot Version
4.6.3
Question
I’m developing an app that require the mouse input to passtrough and i don’t want to have to many windows everywhere.
Here is the app (non-totally-fonctionnal) : GitHub - Stenium112/Catssroom: An application for professors in classroom · GitHub
You’d have to explain a bit more. Usually the mouse filter in the inspector is good enough for most things.
Yeah, but i want that the mouse input or other input pass trough my window application.
And i have multiple aera who i want to not pass.
Still not explaining properly : don’t be afraid to share screenshots (or mock ups), code and anything else if you want pertinent help and not just guesses. What is obvious to you is not to us : we’re not at your computer, have no idea what you’re working on, etc.
My code is on my github repo if you want and when I get access to my computer I will make a little video of my app.
My current project is composed of a bar (panel) who can spawn a chrono(panel too) and you move it around and make whatever you want.
I want to be able to interact trough the window below my app like a chrome or any other app. So it’s a floaty chrono (and more later) above your app.
I have tested the mouse pass trough method with the function and region, my conclusion is that the solo way of doing something like that is to make a polygon that update with the panel and seem complicated or just make window (is messy I think)
So I’m searching a way not too messy and maybe simple.
I think you are looking for DisplayServer.window_set_mouse_passthrough: DisplayServer — Godot Engine (stable) documentation in English
I just want a way to make the mouse input passtrough the window and click under it
If you want to make the whole window transparent to the mouse clicks, use:
DisplayServer.window_set_flag(DisplayServer.WindowFlags.WINDOW_FLAG_MOUSE_PASSTHROUGH, true, 0)
I already know that but I need multiple aera to be clickable