Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

FindAtCoord

Search all object in world coordinates X and Y, and returns last ID.

If no objects found, or char disconnected - returns 0.

Pascal

function FindAtCoord(X : Word;Y : Word) : Cardinal;

Python

def FindAtCoord(X, Y): -> uint

Example Pascal

ObjId:= FindAtCoord(GetX(Self), GetY(Self));  
end.