0 votes

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?

in Engine by (12 points)

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?

Please log in or register to answer this question.

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.