if (parent != noone)
{
x = parent.x
y = parent.y
sprite_index = parent.sprite_index
image_index = parent.image_index
}