getAnimationFrameObjectByIndex(id) {
		return this.anim[this.current.name].frames[id];
	}
Returns the frame object by the index.
@ignore
@param {number} id - the frame id
@returns {number} if using number indices. Returns {object} containing frame data if using texture atlas