Hey how to let multiply same sprite get the position of nearest sprite if they have different instance variables
I'm trying to let ball find the nearest ball with different team like red team or blue team then they move through them with physical behaviour
Develop games in your browser. Powerful, performant & highly capable.
Add the sprite to a family, and define all instance variables and behaviors on the family. Then you will be able to pick both instances independently in the same event:
Ball compare variable team="red" BallFamily compare variable team="blue"