EditCursor
Category: Developer
Since engine version: 1.0 OC
Description
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).
Syntax
object EditCursor();
Example
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