My problem is that it seems that there's only a reaction to the first overlapping. Not to anything that comes after it (when overlapping of first still takes place).
I have 1 box (school), 1 sprite (child). When child overlaps school: add 1 to variable.
If child stands in front of school building, it overlaps. Everything ok so far. When a 2nd child comes as well in front of building, both children overlap. But it seems like it is ignoring the 2nd one. Because overlapping is already "true"?
I wonder how I can get the next overlappings being detected by the "school". Thanks in advance.
If "child" is just a different instance of the same object, then no it wont detect it. Try placing "child" into a family, or giving each new instance its own pv, and check with two conditions, child is overlapping, and child's pv is equal to new pv.
You don't need a for each if that instance is referenced in the same condition. That instance is already in the S.O.L. It is picked by the condition, and since its pv can be changed to something different than all the other instance's pvs, it can be treated as a single object.