Variable annotation

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


I wonder,
is it writing user annotation is possible on GDScript
if we can, how?

thx :slight_smile:

enter image description here

:bust_in_silhouette: Reply From: eightnine

I think you are asking about the Tooltip field that can be found under the inspector tab.

For example, click on a label, look under the inspector tab until you find > Hint, expand that and you can input a tooltip.

oh Hi,
thank you for your comment

yes, similar like this !
it’s annotation for node !

you make my annotation life better :slight_smile:

by the way,
what I exactly ask was annotation for function or variable

have bad english, so I attach some example about this
(annotation preview on vscode and gdscript)

thank you

liss22 | 2020-04-29 19:41