Godot: Godot 3- get_type() missing

Created on 22 Jan 2018  路  2Comments  路  Source: godotengine/godot

How does one return the type of a node in godot3?
http://docs.godotengine.org/en/stable/classes/class_object.html#class-object-get-type
aNode.get_type() Seems to be missing from the API - nowhere to be seen in the documentation.

typeof() returns the type of a variable

what i need is to return the type of a node ("Node2d" or "Label")

archived

Most helpful comment

It's called get_class() now.

All 2 comments

It's called get_class() now.

ah sorry, couldn't find it

thank you @vnen

Was this page helpful?
0 / 5 - 0 ratings