Description
Changelog
Reviews (0)

Easy Tooltips

Github

A lightweight Tooltip system for Godot 4.7+

Attach a TooltipTrigger node under any Control node to get a tooltip panel with title / body / footer / custom rich content. Supports 9-point alignment, screen overflow handling, mouse following, keyboard focus triggering, pinning, and content nesting

Features

  • Separation of content and style: TooltipTrigger handles content, while TooltipTemplate handles appearance. You can customize the template to change the look.
  • Easy configuration: Global default settings + per-trigger overrides (INHERIT).
  • Robust display: 9-point alignment, screen edge flipping / clamping, mouse following.
  • Trigger modes: Mouse hover, keyboard focus, or both.
  • Content support: Supports instantiating scenes as child content of the Tooltip.
  • Customizable animations: Default open/close animations (fade in with scale / fade out with shrink) can be replaced via public methods in the global EasyTooltips script. Animations can be globally toggled using enable_animation.
  • High performance: Panels are automatically destroyed when hidden, leaving no orphaned nodes.

Quick Start

  1. Copy addons/easy_tooltips/ to the addons/ directory of your project.
  2. Enable Easy Tooltips in "Project Settings → Plugins". The plugin will automatically add the EasyTooltips Autoload and the easy_tooltips_pin input action. If the editor does not load the Autoload/input action immediately, simply restart the editor.
  3. Add a TooltipTrigger node under the host node (which must inherit from Control) to use it.
  4. Fill in the properties in the Inspector or update them dynamically via code.
  5. Run. The host defaults to the parent node, but can also be manually specified in the host property.

Animations

Example of custom animation:

func _ready() -> void: var fade_in := func(tooltip: TooltipTemplate) -> Tween: tooltip.modulate.a = 0.0 var tween := tooltip.create_tween() tween.tween_property(tooltip, "modulate:a", 1.0, 0.2) return tween EasyTooltips.set_open_animation(fade_in)

Custom Content

TooltipTrigger.contents is an Array[PackedScene]. Every time it is displayed, each scene is instantiated once and mounted under the template's content_holder; different Tooltips do not affect each other.

In the editor, simply drag the .tscn file into the contents array.

Custom Templates

Just ensure the root node is TooltipTemplate; everything else can be customized.

Property Required Description
title_label Yes Title RichTextLabel
body_label No Body RichTextLabel
content_holder Yes Parent container for custom content (its child nodes can only be interacted with after pinning)
footer_label Yes Footer RichTextLabel
title_separator No Title separator line, automatically hidden when the title is empty
pin_icon No Icon node displayed when pinned

The panel will call setup() to populate text and content after being added to the scene tree. Subclasses can override when_empty() for additional processing.

Examples

The plugin provides an example scene. You can open addons/easy_tooltips/examples/examples.tscn and run it to see the effects.

License

MIT

Copyright (c) 2026 Suzuran28

Changelog for version v1.0.0

2026-11-11 01:44:53

No changelog provided for this version.

Reviews

Easy Tooltips has no reviews yet.

Login to write a review.

Consider supporting the creators!

If you enjoyed this asset consider supporting its creator. Follow the link below.