Where is my Script Variable?

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

I want to ask … earlier I exported the speed variable and I tried to make it disabled by making it a comment but why in the Area2D inspector there are no more Script Variables? and how do I bring it back? and does the loss of the script variable statement mean that the variable I created is really missing?

Not sure if I can follow… You created a export variable like this?

export var test

And then you commented it out like this?

# export var test

If so and that’s your only export variable, then yes, the inspector won’t show any script variables. Why should it? There are none! You commented the only one out!

If you want to bring it back, you would… uncomment it again?

njamster | 2020-09-02 12:09