How to select instance of an object

It’s a basic question and unfortunately I still don’t understand how to do this on gdevelop. I looked at tutorials forum etc… nothing explains. I am trying to change a global variable “choiceprop” when the cursor is over a dot. Each dot have an instance variable called “town” with different values. In each of my try the global variable gets stuck on the first dot. I can’t choose another one.

It works for me. Maybe one of your other events only ran once.

1 Like

thanks for retrying it. This is weird because I have the same instructions in an empty scene. I erased the dot object and recreated it and then it worked. I can’t explain but I suspect it is the way I created the instance variable. I had tried to delete it. Anyway now it works