Image on click help

Godot Version

4.3

Question

I’m making a idle game like cookie clicker to learn GoDot but I am stuck trying to make an image and a number pop up when the cookie is clicked. I can’t seem to figure out a way to get it happen.

You can use a texturerect or a texturebutton to detect the click. And if its clicked you spawn another node wich contains the number

1 Like