I've been searching the forum for hours, but I can't find what I'm looking for. Maybe you can help me?
I want to set a variable from one instance to the same variable of the same instance it collides with. I can't figure out how to get the (variable) value from the last collided instance. Is there a way I could do something like: set VarName to Sprite(last collided).VarName ?
Thanks in advance!
This is easier with Families, but can be done with a bit more work without.
You need to pick the 'other' instance, store it's value, then pick the 'first' instance and set it's value to the temporary value.
Thanks for the quick reply, i'm going to give it a try
Develop games in your browser. Powerful, performant & highly capable.
Thanks Blackhornet, the capx made it perfectly how to do it and solve a multitude of problems!
Lordshiva1948: Gonna look some more in the tutorial and get some better understanding Thanks!