Why not just do a simple "on created --> set bla bla bla to object.uid"
Doesn't get any easier than that.
I didnt know that condition exist till you point that out thanks alot
You can try a trick with a family.
Create a family with sprite A.
Then use "FamilyA spawn A"
"A.UID" in this event will refer to UID of a newly spawned instance.
Or you can use "System->Create" action:
> Function call "CreateNewA" (A.x, A.y)
On function "CreateNewA"
System-> create new A on layer 0 at (function.param(0), function.param(1))
A set instance variable ....
thanks for the answer it helps a lot