Every random (1, 2.5) secs the system spawns a box. This box starts just outside the top of layout and travels at 90 degrees.
I'm trying to get this box to spawn a star once its created and pin the star to the box so it moves with the box.
When the layout starts there are about 20 blue boxes, which have spawned the stars. Those stars move with the boxes just fine. But once the boxes get destroyed outside of layout and more boxes are created, they do not spawn the stars.
I've ran the game in debug mode and can see the boxes and stars getting destroyed. Also, the boxes are being created like they should, but they are not spawning the stars.
Any ideas? Any input is very much appreciated.
capx example -- https://www.dropbox.com/s/md6dqjlexsty1gm/pinn%20to__.capx?dl=0
2 different layouts with the reverse behaviors. Still will not pin together. Can someone explain why?