Hi, I am writing script for Tiled 1.4 beta, and I use insertObjectAt(0, newObj), but this method inserts newObj at the end of the group, also it continues inserting it at the end of the group even if I enter different number (for example 1, 2, etc). What is the problem?
That’s a bug, I’ll look into fixing it soon. Thanks for bringing it up!
Fixed in the following change:
Will be included in the next release (probably Tiled 1.4 RC tomorrow).