Invalid Type function

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Sylvain
:warning: Old Version Published before Godot 3 was released.

Hello I have a problem with my code

"Invalid type in function ‘get_node’ in base ‘Node2D (clock.gd)’. Cannot convert argument 1 from Nil to NodePath. "

what that means please ?

:bust_in_silhouette: Reply From: avencherus

It means the value is null, and it didn’t find the object. Check to make sure your node path is correct.

OK thank you :slight_smile:

Sylvain | 2017-07-10 18:00

You’re welcome. :slight_smile:

avencherus | 2017-07-10 19:50