[Solved] Make a variable not work under a certain condition


#1

So I wanna make a game where you must touch objects to get points but once you’ve touched an object once, you cannot get points from that object anymore,but the variable keeps adding points each time I touch the object! Please help! Thanks!


#2

Hi,
You will need a condition that will check if the variable “not_touched_yet” is worth 0 or 1.
And you will need an action that turns that variable to 1 on the first touch.


#3

Thank you! You helped me a lot!