Well, it appears to move vertically. Well, what it is doing is relocation to a point vertically above where it started. If you want it to move gradually up the screen, then you need to use something like 'setLocation(getX(), getY()-1)' in the act method. You want to put it in an 'if' block because it does not move all the time. The condition is that Link has touched it. So you need a boolean field (in the Pear class) to track whether Link has touched it or not. Set the boolean within the canSee block.
