Possible to export vars with a description?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By jarlowrey

I’m trying to make a small library, and it would help if my exported vars could have a description visible in the editor upon hovering (like built-in vars), ie export var kill_after_time = -1.0 : "time until self-destruct"

As far as I know, that’s not a feature. Sorry bud.

SIsilicon | 2019-02-28 08:06

Some properties actually do have a rich text tooltip based on the builtin documentation, so that feature exists but there is no API to use it. The code handling this could give a hint at how it’s currently done.

Zylann | 2019-02-28 14:01

Yea man sorry, haven’t found that either, so sad seeing as Godot itself can do it

cholasimmons | 2020-09-15 23:58