i wanna make a score variable that when i get a tomato rise score by 1.
Add a “Number” behavior, and name it “Score”. Add a “Collision” behavior that triggers when you touch a “tomato” object, and connect that to the “+” input of your score. Now When you touch a tomato, the score value will increase by one.
http://www.flowlab.io/game/play/225037
look at this