setX

setX(float value) function

Returns or sets the x-coordinate of the upper-left corner of the shape. Read/write float.

Returned value is always defined (is not Float.NaN). Assigned value must be defined (not Float.NaN). You can set undefined values for RawFrame instance properties.