How to lock an object on screen?

Hi, I have 4 boxes on the screen, when I click on one, some objects appear in the center of the screen, but I want the other 3 boxes to be locked so that they cannot be clicked.

Hey Destro. You can use scene variables for that. First create a scene variable ‘lock’ and set the default value to 0. Then use events to get this:

Object clicked and scene variable ‘lock’ is 0
→ create objects and change scene variable ‘lock’ set to 1

You can reset the scene variable ‘lock’ to 0 the way you want, for example with a timer. Hope this helps

You can also use the object variables or even animations for that. Make them clickable on certain animations and not clickable on others.