Hidden objects are being selected.

In my project, I have hidden all layers except one so that I can move just the object on that layer. But for some reason, it is selecting objects on the hidden layers. Because of this, I can’t move the object on the only visible layer.

In the editor you can lock the objects so you can’t select and move them any longer. Right click on object in the editor and select “lock the object(s)”. If you want to select and move objects in your game only on specified layer, you can check the layer of the object using the “All objects-Layer-Compare Layer” condition.