Hello,
I stomped on something weird..
I do in a function..
+ Pick All ObjectA.. Destroy..
Then somewhere after i do..
For Each ObjectA.. and it still find something in the loop.. why ?
It is because the object is kept in memory before the next tick ? I expected that the loop find nothing since i ordered to destroy all of them before that event. It seem to happen only in functions.
Here a screen... in a mini sample.
mediafire.com/view/ivqiw8x4yjcc3le/Bug.png
Here a demo..
mediafire.com/download/c2pva1vo43bxbfh/PickingBugWithFunctions.capx
Thanks!