So I am working on a 2d pixelated game and I have managed to put a stamina bar in the system but whenever I release the button that I set the stamina to be consumed it just keeps on growing.
So I am working on a 2d pixelated game and I have managed to put a stamina bar in the system but whenever I release the button that I set the stamina to be consumed it just keeps on growing.