Godot Click Through Transparent Window
A downloadable tool
This is a demo project for the Godot Engine that features a transparent window with click-through capability and a Godot icon that moves randomly when clicked.
This project is compatible with both Godot 4.0.2 and Godot 3.5.2 LTS versions. For the version that you need, please check the GitHub repository of the project.
Screenshots
Usage
This project doesn't add anything directly to the projects it's added to, and there's no direct use of this project. You can examine the script files within the project to see how the implementations work and apply them to your own projects.
Licensing
This project is released under MIT License. Please see the LICENCE
file for more information.
Status | Released |
Category | Tool |
Release date | Aug 29, 2021 |
Rating | Rated 5.0 out of 5 stars (1 total ratings) |
Author | Ata Deniz Oktay |
Made with | Godot |
Tags | GitHub, Godot, godot-3, godot-4, godot-engine, tool |
Code license | MIT License |
Asset license | Creative Commons Attribution v4.0 International |
Average session | A few seconds |
Languages | English |
Inputs | Mouse |
Comments
Log in with itch.io to leave a comment.
I've been looking through the demo and I can't figure out what's making it so you can click through the window. could you explain how it works, or what's causing it so I can find it on the docs or something pls
Hello!
Sorry for the late reply; thank you for leaving a comment.
If you visit this link, you will see the function
_update_click_polygon
, which updates themouse_passthrough_polygon
property of the Window with every physics frame via the_physics_process
call. Basically, themouse_passthrough_polygon
property decides which part of the screen is rendered and clickable at the same time. I hope this helps!I rarely check itch.io about this project since it is on GitHub. I can provide further help on GitHub via issues if you happen to need more in the future!
Thanks