How to swap a sprite?

Why aren’t you using the method I showed you if you want to change a sprite to another sprite? What you’re doing is saying:

  1. On overlap of the crate sprite
  2. Add a sprite with the same relative transform to the crate sprite
  3. Set this sprite to a crate sprite

So it looks like you’re just adding a crate sprite to another crate sprite