Hello! I'm trying to use a function from the class that the script extends, and add more code to it.
I saw some answers for Godot 3.x that say to use:

func basefunc(args):
	.basefunc(args)
	#additional stuff here

Is this different in Godot 4.x? It doesn't seem to work!

Thanks!

  • I learned from the Godot discord that you do it like this:

    func basefunc(args):
    	super.basefunc(args)
    	#additional stuff here

I learned from the Godot discord that you do it like this:

func basefunc(args):
	super.basefunc(args)
	#additional stuff here