I've seen the rectangle example for animating sprite sheets but I'm not sure if I'm understanding it quite right.
If the rectangle is choosing which sprite to draw how do we hide the sprite sheet in game? Are we suppose to set the position of the sprite sheet outside the camera view so it doesn't be seen?
Sorry if this seems like a dumb question. I'm coming from areas of game dev like GameMaker where animated sprites are much easier to implement, so this is a whole new realm I'm diving into but eager to learn.