hitTest not working

I’m making a game similar to pacman and I currently have two Button objects: one is the pacman, and one is the food.

Here’s my code for the food:
food%20code

Here’s my code for the pacman (link because of restriction):
https://imgur.com/vNW9BU9

The hitTest doesn’t seem to be working. It’s returning true even before I move my pacman.

Please help.

hitTest() doesn’t seem to work for Buttons that are imported images. I used the same code but on eclipses with no problem.

Ah, that’s quite a nasty bug. We plan on releasing a new version of the editor on Wednesday which should have this issue fixed. Keep an eye on the forums for the release info!