So basically I'm making an asteroid clone and want to pin the a alien on a UID asteroid. I know how to pin 1 object to another, but how do I do it to a clone?
I know this is super simple.
Develop games in your browser. Powerful, performant & highly capable.
You do mean two of the same sprite?
You have to use a family. Put the sprite object in a family, and then you can refer to the object and the family as two different objects. Pin the object to the family.
or perhaps you mean you want to pin the object at run time? instead of when you design it on the C2 editor?
use the On created event on the asteroid object, on creation it will spawn an alien, and immediately pin the alien on that asteroid
assuming the alien has a pin behavior, this is the example event:
asteroid On created | asteroid Spawn alien on layer "Main" (image point 0)
_____________________|alien Pin to asteroid (position and angle)
hope that helps