F
Facet
Guest
Hello
I have important part with saving sprite_index, like a
I have some errors and reason can be elsewhere, but to be sure, I want to know how sprite_index works. With calling object_get_sprite(inst.object_index) I have number and this is ok. But when I will add new sprite to project it can change? For example, if I will move new sprite, lets say #99 in my project to position #3 it will be move all sprites over #3 to sprite_index +1??? I think, sprite_index should be always same for each created sprite just by the create/add to project number.
I have important part with saving sprite_index, like a
Code:
object_get_sprite(inst.object_index)