If I understand correctly you use the same object for shadow and for the blue cross which shadow should be assigned to?
In the function try to pick instance from the family perspective (not Sprite2).
Then spawn Sprite2 (shadow) and pin it to the Family object (this has to be within the function so the SOL is correct).
On function "crateShadow"
Family1 pick by UID
Family1 spawn object Sprite2 at image point(x)
Sprite2 pin to Family1
other actions if needed[/code:2c0ze6wa]