an object moves and clicks