Hello. I am learning new knowledge about custom class by Gdscript. I want to learn if there is anyway to declare a method inside another method body instead of inside class body.
Like this:
extend Node
class_name Custom-class
var a:float =
var b:float =
func _ready()
pass
func _custommethod()
if a>b:
func _newcustommethod()