GetX

Category: Objects / Position
Since engine version: 1.0 OC

Description

Returns the x position of the calling object.

Syntax

int GetX(int prec);

Parameter

prec:
[opt] Precision. Coordinates are divided by this value to enable retrieval of fractional positions. Defaults to 1.
See also: GetXDir, GetY, GetYDir, SetPosition, SetXDir, SetYDir
Cucaracha, 2002-05