How can I trigger a newly created object?

Hi I’m creating a traffic system, in which a machine has to be created on a base, but when I create two bases the two machines are only created on a base and not on both. how do I trigger the base when I create it so it can fix the problem?

I inserted a rectangular sprite, which I called “base”, and which is created with the touch of the mouse, and I inserted that the machine was created on this base, but the problem is that when I create two bases I want that for every base we create a machine, so I want to know if there is a way to trigger an object when it is created

Can you be more specific? We can’t know what you mean with Base, machine etc if you don’t explain it to us. Try to upload screenshots and maybe the project, else we won’t be able to help you.

1 Like

I don’t really understand what you wrote. but I think what you want is spawn multiple ojects just with one click. so, when player clicks on a “base” object, then create a “machine” object on each base. is this what are you want?