Coordinates and variables.. :s

Hi all,

I got a little problem with the y coordinate and my keyboard.

Basicaly its like this…

I got a movieclip that I move with my arrow keys… and when the y coordinate is 277.5 I want to set another variable to 0. But it does not work…

thers my code…

if ((_y, 277.5)) {
    set(DWN, 0);
}

the value of DWN is 37 so everytime I press the down button it goes down by 37. And I want it to stop at 277.5 so that I cant move it any more down… but it does not work… :frowning:

any idea? ^^;