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 branch is compatible with Godot 4.0.2 version. For the version that supports Godot 3.5.2 LTS, please check the godot-3
branch.
In function _update_click_polygon
, the mouse_passthrough_polygon
property of the window is updated with every physics frame via the _physics_process
call. Basically, the mouse_passthrough_polygon
property decides which part of the screen is rendered and clickable at the same time.
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.
This project is licensed under the MIT License. For further information, please refer to the LICENSE
file.