Skip to content

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.

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)

true, or false when id is no surface

SetWebSurfacePos(board, 1280, 1090, 2.2, 180, -15) -- tilted back like a lectern

CreateWebSurface · SetWebSurfaceSize · the Web surfaces group of the index