SetPosition
Objects
Position
5.1 OC
void
int
x
New X position of the object.
int
y
New Y position of the object.
bool
check_bounds
Only applies to objects using the BorderBound property. Ensures that the position is always within the limits specified by the object.
int
prec
Precision. Coordinates are divided by this value to enable movement to fractional positions. Defaults to 1.
Moves the object to the specified position. This will set the exact pixel position and any internal sub-pixel offsets will be reset.
GetX
GetY
Sven22002-08
Clonkonaut2008-04