@awesomeonion Thanks for looking!
clone #41 is in front of clone #43.
I can’t actually tell that from 2 over lapping texts of the same color… But where is clone #42? Did a circle with Index #42 not didn’t get created? Otherwise the Set Position code would have positioned it between 41 and 43 (“between” meaning X/Y positions, not Zorder).
It’s not completely deterministic what order they will appear in
Well. That’s unfortunate.
I have to ask; how is the original not Index 1, the 1st clone created not Index 2, the 2nd clone not Index 3, etc?
Users can certainly set the Zorder or possibly re-index them (if it’s not a read-only property? I haven’t tested that) according to the creation order (and hence Zorder), but then I think creating an index the old, manual way would just be easier. Besides, don’t you think it’s going to be confusing to many users when the Index order doesn’t correspond to the creation/Z-order as one would expect?
What we should have is a way to explicitly set z index
Yes, that would be great! I asked Montoya & Thomas for that a while back to no avail. Actually, many users have asked for this. I recall either Montoya or Thomas saying there already is a Zorder property that just wasn’t exposed in the editor GUI, so it should be easy to add.
you could get around it by setting a wait proportional to the clone index and then bring to front at the end of the wait. That way the largest clone index would be guaranteed to be brought to front last.
Agreed, but that potentially creates an undesired “loading” delay. But I think it could be done in 1 or 2 “frames” without a Wait block. I’d have to test and confirm. But, regardless, since it’s an app intended to facilitate learning, Hops shouldn’t have to do this IMO.
P.S. Thank you for all your & THT’s effort and working to continually improve Hopscotch.