The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates. | Twitter

0 votes

I wish to detect windows of other applications on the screen and have a sprite interact with it, for example, jump on the top side of a window, and stay on it even if the window gets dragged around by the user.
I tried searching on Google using phrases such as "Godot how to detect other windows on screen" etc, but I only found answers concerning the game window itself, not other application windows.
Also, if there is a way to accomplish this, would the solution vary depending on platforms (PC ones, specifically)?
Any help is appreciated!

Godot version 3.2.2
in Engine by (17 points)

i'm not 100% sure, but i dont think godot has any built-in feature to interact with windows explorer, being a game engine it is focused on grabbing input from inside the game and from the OS (mouse, keyboard), not from third part application.

you probably can do it, but it requires some advance knowledge on the source code

Indeed, Godot doesn't have functionality to detect whether over windows are overlapping it. To implement this, you'll need to write a C++ module.

That makes sense. Thank you both, I'll study up more and try to code it separately then.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.