A primitive type that encapsulates position information for an atom, with pixel movement included. I.e., it contains a turf (loc) and step_x and step_y offsets. Pixlocs can also be built from absolute world coordinates.

The pixloc of an atom is taken from its loc and step_x/y vars only. If you want the pixloc of its bounds edges or its center, use the bound_pixloc() proc for that.

Pixlocs support some math operations. A vector can be added or subtracted to a pixloc, and subtracting one pixloc from another will produce a vector. The % and **BROKEN LINK: /operator/modulomodulo** operators are supported, returning a vector.

Other supported procs for pixlocs include:

See also

min()

1 item under this folder.