I made this game where there are multiple instances of an object, now, to this sprite, I added the "platform" behaviour so that it has gravity (note that I set default controls off so it doesn't move/jump along the arrow keys) and I want it to be so that when one instance is overlapping the wall sprite, all of the instances of the sprites get their platform behaviour to be turned off. I made some scripts that made it like when that sprite overlaps the wall sprite, the same sprite (not the wall) will disable the platform behaviour but then when I previewed the project, only the instances that are overlapping the walls had their platform behaviour disables
I hope you understood :P