Quote from: GarageGothic on Mon 12/05/2008 03:19:45
Characters and Objects have similar GetAtScreenXY functions.
Keep in mind that Characters and Objects use room coordinates, and the mouse uses screen coordinates, so if your room scrolls, you'd need to compensate for that.
Hotspot *myhotspot = Hotspot.GetAtScreenXY(object[1].X - GetViewportX(), object[1].Y - GetViewportY());