# EditCursor

Developer
5.1 OC
object
In the developer mode of the engine this function returns the object which is currently under the mouse cursor (in edit mode: select and move).
var cursor = EditCursor(); cursor->Message("%s|x: %d y: %d|xdir: %d ydir: %d", GetName(cursor), GetX(cursor), GetY(cursor), GetXDir(cursor), GetYDir(cursor));
Displays some information about the object above which the edit cursor is hovering.
matthes
2008-04