I'm trying to make something happen when my element has moved a certain left amount.

```
var box = $('#box');    
box.css('left', '500px'); //This is moving the box. I have a transition set in my css
if (box.offset().left == 200){
    alert("yes");
}

```

It doesn't alert yes, though. I tried outputting the offset().left position into the console, and it DOES reach 200. Am I just using inproper syntax?