SetWebSurfacePos
Moves and turns a web surface.
The board’s new middle, the way its face looks and its tilt, as CreateWebSurface takes them; a pitch or a roll left
out is 0. The pages on it are not loaded again.
Syntax
Section titled “Syntax”SetWebSurfacePos(id, x, y, z, yaw [, pitch, roll])| Parameter | Type | |
|---|---|---|
id |
number | the surface |
x |
number | the board’s middle, metres |
y |
number | |
z |
number | |
yaw |
number | the way its face looks, degrees |
pitch |
number | degrees (optional) |
roll |
number | degrees (optional) |
Returns
Section titled “Returns”true, or false when id is no surface
Example
Section titled “Example”SetWebSurfacePos(board, 1280, 1090, 2.2, 180, -15) -- tilted back like a lecternSee also
Section titled “See also”CreateWebSurface · SetWebSurfaceSize · the Web surfaces group of the index
