set sprite size sfml code example Example: sfml set sprite sier void setTextureRect (const IntRect &rectangle)