Change the variable based on the linked object

How can I change the variable to the collision enemy object based on the variable of the linked enemy?


each enemy has a different speed variable, I would like collisionenemy to change the speed based on the enemy it has linked

IDK exactly what you’re doing but…

If a is in collision with b
Take into account all c linked to b

Set variable z of object a to variable z of object c
Or
Set variable z of object b to variable z of object c

Again, I’m not sure what your intentions are. Are they separate objects or are some hidden hit boxes. If they’re hit boxes then you could use the sticker behavior and stick the visible object to the hit box.

1 Like

I have to thank you once again @Keith_1357

1 Like