Hi, I'm trying to add a score each time the car collects a point but it's not adding to the score counter. I've tried a lot of different commands but it always comes up as different errors. This is the code for removing the muffin The actors that I have right now is car (collects the muffin), Muffin is the score, and I have Counter as an actor too.
if(isTouching(Muffin.class)) { removeTouching(Muffin.class); }