Changes the current costume of this sprite to the one at the specified index.
The index of the costume to change to.
if the index is out of bounds.