I have a player which moves left and right with Mouse.X at bottom of the layout. from the top of the layout objects are spawning to down and player have to catch 5 of them. First object will be pinned over the player and others will be pinned over the previously catched object.
My problem is I want that ...
When first object collide with player then it will be pinned on top of player and when second object will collide with first object then second object will be pinned over top of first object, when third object will collide with the 2nd object then it will pinned over the 2nd object and so on till 5 objects to collect and place them over the previously collected object.