Drag Mob.tscn from the “FileSystem” panel and drop it in the Mob property under the Script Variables of the Main node.

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

Hi there. I am a first time user of Godot, trying to follow the initial ‘your first game in Godot’ tutorial. I have reached this point:

“Drag Mob.tscn from the “FileSystem” panel and drop it in the Mob property under the Script Variables of the Main node.”

But without an image or more detail I’m actually not clear what this step is asking for? Is it asking for me to drop the mob.tscn file onto the script itself, underneath the public PackedScene Mob; variable? (If I do this, it pastes “res://Mob.tscn” into the script. Doesn’t seem right. Could someone assist? I’m keen to try out this first tutorial :slight_smile:

Only other bit of relevant info would be I’m using the C# code samples in the tutorial as I’m a C# developer.

I cant find the mob.tscn file on my computer and i dont know where i can get it so i need help

new memeber | 2020-05-08 20:12

:bust_in_silhouette: Reply From: Christoffer

hi,
just before where it says that you should drag mob.tscn it asked you to make a new script in a scene called Main right?

the line of code in the main script that says “export (PackedScene) var Mob”
make it exposed to the inspector, and whatever scene you put in there you can create new instances from that object (or scene) in the code. ( i guess you will use this later in the tutorial)

Anyway in the picture below, you can see the inspector tab and under it a property called Mob, you drag the mob.tscn to where it says [empty]

Ty, helps a lot!

fabien | 2019-04-20 23:22