I have a scenario where in I would want to trap the condition whenever an object like image etc goes over a certain area.(Ofcourse I dont want to calculate that using x,y width etc for the the object)
Just like we have mouseover for mouse cursor positions ,Is it possible to handle this and how?
If you are still using the mouse, I would explore the drag events. Without knowing your particular need, though, it is difficult to give you a suggestion. I made a Pong game with my kids that functions pretty smoothly and does the calculations to determine if the "ball" is touching a "paddle".
Yeah probably it may be help if we can determine it using the drag also but the main requirement is that the objects may move even without being dragged that is moving by some code that changes the x and y, however if you can suggest the drag thing aswell it may help.