Godot 4 _reset() function replacement?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By KelTheKeeper

Hello,

I am following a tutorial from 3.5 that uses _reset(), however it doesn’t seem to work in 4. Was it replaced or removed? If replaced, what replaced it?

I’m not familiar with a _reset() function. Are you sure it’s not a function local to one of the scripts in question? Can you post an example of where it’s being called in your current code?

jgodfrey | 2023-03-13 22:49

Ooof thats totally what is was. If I would have looked 2 inches up in the tutorial code, it would have told me haha

Thanks!

KelTheKeeper | 2023-03-13 23:12

:bust_in_silhouette: Reply From: jgodfrey

Based on the above discussion, the mentioned _reset() function was just a custom function in a local script…