The Script Variables are not popping up on the inspector thingy.

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

I’m watching a tutorial for the player gravity and it says in the video type “var gravity: = 3000.0” before you type export and I did it and the Script Variables don’t show up I don’t know why so please anyone help me.

:bust_in_silhouette: Reply From: timothybrentwood

The syntax is:

export var gravity  := 3000.0

Once that is typed into the script and the script is saved.

In the editor:

  1. In the SceneTree (default left side of the screen) click the node that the script is attached to
  2. You should see the “gravity” with a value of 3000 under Script Variables in the
    Inspector tab (default right side of the screen).

Godot 3.5 Mono, Macbook air M1 2020,

If it can help:
I have to click on “Build” (Top Right side of the screen) to see exported values.
Exported values doesn’t appear automatically.

PixWorker | 2022-10-26 02:16