Godot Engine – How to get the class name of a custom class

If you have ever created custom classes by using class_name MyCustomClass in one of your scripts you might have noticed that these classes don’t return their custom class name when you use get_class() or is_class() on them. This tutorial will show you how to fix this. Let’s say you have a Player.gd script that inherits […]

Scroll to top