Hello,
Just want to be sure, i have been able to reproduce a strange behavior with functions and picking.
I have two functions: One to create a sprite with ID (custom instance property) set to 3 and one to actually pick that sprite (based on ID = 3).
I am calling theses both functions in the event "On layout start". I though it would work.. i was expecting the picking function to pick the instance where the ID = 3 but the function that pick the sprite doesn't pick the sprite as if there was nothing to be picked but the sprite with the ID 3 got created in the first function.
But if i put two events "On layout start" and call the create function on one and the pick function on the other it work well!
I can't post a sample right now since i am not at home. But you should get the idea.. is this a normal behavior ? and why ?
Thanks!