Nonexistant function 'instance' in base 'PackedScene'

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

Img 1
Img 2

As you can see I have made sure the mob.tscn is added to the script variables too.

:bust_in_silhouette: Reply From: Ertain

Are you sure your code is correct? In the second image, the method instace() is called on the object.

Ya thanks i fixed some issues with the code … was apparently a typo

Smit | 2022-11-19 17:15