A downloadable asset pack

Clickable Component | Godot

A powerful and reusable utility component for Godot 4.6+ that turns any Control node (like TextureRect, Panel, ColorRect, etc.) into a fully interactive button. It automatically handles hover/click animations, sound effects, debouncing, disabled states, and asynchronous loading flows. 

 ✨ Core Features

  1. Visual FX & Sound FX: Built-in tween animations for hovering (scale + glow) and clicking (pop). Hooks up directly to your sound manager.
  2. Debounce (Anti-spam): Built-in click cooldown to prevent users from double-clicking or spamming functions.
  3. Async Loading State: Easily handle network requests or heavy tasks. Hides specified UI elements and shows a loading spinner until a callback is complete.
  4. Disabled State: Lock interactions dynamically. Automatically visualizes the disabled state (e.g., grays out the button).

Github: https://github.com/NgocHai220998/Godot-Sample/tree/main/GUI/components/clickable...

Download

Download
clickable_component.zip 13 kB

Leave a comment

Log in with itch.io to leave a comment.