Serialize sprite component