When you set the loc of an object, you have to explicitly name the object. "Amir" could be anything. You have to say, for example : set the loc of button "amir" to...