Sets the sprite.data field from the tiled properties on the object and its tile (if any).
sprite.data