get_world_origin

f64 world origin as { x, y, z }.

Query

Usage

TypeScript
surface.query('get_world_origin')

Returns

object with x, y, z, in the ok: true envelope.

JSON
{
  "type": "object",
  "properties": {
    "x": {
      "type": "number"
    },
    "y": {
      "type": "number"
    },
    "z": {
      "type": "number"
    }
  },
  "required": [
    "x",
    "y",
    "z"
  ]
}

See also