That's actually an ingenious idea...Some little flash box wossname thingy-majig... interesting.
Theres a few ways you could implement it. Send the co-ordinates of the moved object back to the server and do the check server-side or do it client-side and just send back a true or false. Surely someone must have done something like this already though!? And if so, why hasn't it caught on.