You just declare the function in a script. For instance, if I want a node to echo its previous and new positions to stdout, I can do so with this:[code]func set_pos(pos): print(get_pos(), " -> ", pos) .set_pos(pos) #Call the original function. Note, self.set_pos(pos) does NOT work[/code]