I’m trying to design a game like the above picture.
I have successfully brought one block in. I can move a single block very easily. But, When I brink second block Still first block only moves…
I guess I’m following wrong structure (I’m directly adding blocks in main.collection and listening input in each block).
You don’t have to create a collection for each block. I recommend you create game objects instead. You create one collection for the level and attach game objects to that collection e.g., level_1.collection has brick1.go and brick2.go.
@britzl created an example that shows how you can handle the input on game objects: