Hello I want to create a store system to my game. But I have some issues, I want to change sprite when I pressed the buy button. But I can't create a algorithm for this can someone help me ?
Godot Version : 3.5.1
Game Platform : Android

My Character Sprite Here

My Global Script variables here

My Global Script Here

My buy function here
Note : Just I want to know how to change my sprite texture with global script