0 votes

Hello,

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

thx :)

enter image description here

in Engine by (57 points)

1 Answer

+1 vote

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.

by (24 points)

oh Hi,
thank you for your comment

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

you make my annotation life better :)

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)

example about annotation preview between vscode and godot script

thank you

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.