Action: Letinitx(variable, target)

Related Actions: move, moveto, movebyx, movebyy, movetorand, moverandx, moverandy, restrictx, restricty, letinity, letobjectx, letobjecty
See also: FKiSS, Events, Actions

letinitx(variable, target)

First defined in: FKiSS4
The letinitx action sets the value of variable to the initial horizontal position of target for the current set (page).

variable

variable must be a variable name.

target

In FKiSS4, target may be an object number or a variable representing an object number.

Example:

;@ letinitx(X, #5)     ; Put the initial horizontal position of object #5 into variable X.
;@ letinitx(X, VarObj) ; Put the initial horizontal position of the object identified by variable VarObj into variable X.