EditCursor

Category: Developer
Since engine version: 4.6.5.0 CP

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 pCur = EditCursor();
Message("%s|x: %d y: %d|xdir: %d ydir: %d", pCur, GetName(pCur), GetX(pCur), GetY(pCur),
  GetXDir(pCur), GetYDir(pCur));
Displays some information about the object above which the edit cursor is hovering.
matthes, April 2008