Hello everyone,
I just joined this server and I have a questiion already.
I started a few weeks ago with godot and I decided to make a game called "pizza clicker" (I know its a cookie clicker nock off and no hate its just for fun.
What I am trying to do now is every time you click on the big pizza, a small pizza will appear in the pizza counter box and will slide to the border of the box. The small pizza is a Sprite2D and I am trying to do this with the lerp() function, however, somehow it says: "Invalid call. Nonexistent function 'lerp' in base 'Sprite2D (SmallPizza.gd)'.". I know the problem is not the editor because when I try to creeate a new scene with a new Sprite2D, it just works fine.
When I try to do self.lerp(1,2,3) the editor gives me an error because "function lerp() is not found in base self." as shown in the screenshot.