In my game, the enemy(birds or Roc) flying back and forth across the screen. I call a function called "CheckRoc" every tick to see if each enemy sees the player and if they do,then if they are free, they attack. At the start of the game, the enemy is obviously free and should attack on sight. However, they don't attack. It seems like it should be straightforward, and I've spent hours on this already. Here's the url if anyone wants to take a crack at it.