Prototyping with variables - subtraction expression not working as expected

Hi! I’ve been playing with variables for prototyping and using the Figma Prototyping with variable example file. When trying out the expression to decrease the cart amount. I’m using the same exact expression from the demo. When previewing the interaction, clicking on the add to cart button decreases the amount from 4 to 3 but then stops working and won’t decrease the count when clicking again. I’m using the set variable to amount available and then the expression is amount available - 1. Anyone else encountering this? Couldn’t find anything on the forum.

Hey @Kari_Waldrep, sorry to hear this is happening!

Are you able to include a link to your file and share it with support-share@figma.com, so we can try to take a closer look?