Generate an object near all instances of random generated objects?

There are randomly generated ground tiles on a scene. (so I can’t know coordinates of any of tiles.) I want a coin sprite to be generated above every instance of an Object. Any possible solutions? Thank you

Hi, this is all what you need to create a coin (as many as you need) on the specific tile:

Thank you a lot! It works (But you forgot to add Trigger once. Otherwise Coins spawn endlessly).Btw is there any difference between Object.CenterX() and Object.X(“Center”)?

Yes that’s true, I should have put the entire block under a “At the beginning of the scene”-condition, then you don’t need the Trigger once - condition (it is not recommended to use For each and Trigger once together):

No, it is the same. You can choose which one you like more.

1 Like