i have a question about a specific issue i've come across in my game...
is there any way to compare two variables each specific to a different object.
what i mean is that i need to compare, for example, the variable "color" (meaning the one specifically for object1) to the variable "color" (meaning the one specifically for object2)
i tried something like this under a create event on object1 (with "self selected"):
if color = color (object2)
SOMEONE HELP
Copyright © 2024 Q2A.ES - All rights reserved.
Answers & Comments
Verified answer
if color = object2.color
You can also use this for variables, like sprite_index.
if sprite_index = object2.sprite_index