Hello. I have a problem with code where when i call function it only runs last one. I tried a lot of different ways to fix it but I’m still new to this program but I still can’t find solution.
What I want to make is when I move tree and it collides with tile, tree positions on center of the tile and it kind of blinks so you can know its positioned well.
You are overwriting the collision event for each tree in the list, with each subsequent function call - that’s why it only works for the trees & tile in the last function call.