I have a family called "characters", with a family variable called "ready". When ready is 0, characters stay still and when ready is 1 they start moving.
I want characters to start moving when they are on screen, and stop when they are not.
For each characters
-sub event: is not on screen = set ready 0
-sub event: trigger once
For each characters
-sub event: is on screen = set ready 1
-sub event: trigger once
If 3 enemies are on screen, only 2 of them start moving. Why?