Skip to content

FlyToTarget

github-actions[bot] edited this page Sep 21, 2026 · 1 revision

Interface: FlyToTarget

Imported from @elite-dangerous-almanac/galaxy-map.

Where a host asks the camera to fly. cursor and system name the same field two ways, and cursor wins where the host gives both. A field the host leaves out keeps the value the view holds, so flyTo({ distance: 100 }) is a zoom in place.

Properties

cursor?

readonly optional cursor?: readonly [number, number, number]

The point the camera centres on, in game coordinates.


distance?

readonly optional distance?: number

The distance from the cursor to the camera, in light years.


pitch?

readonly optional pitch?: number

The camera's elevation above the galactic plane, in degrees.


system?

readonly optional system?: string

The identity of a system of the set, which is its id64 where the record carries one and its name where it does not. An identity the set does not hold flies nowhere.


yaw?

readonly optional yaw?: number

The camera's angle around the cursor, in degrees.

Clone this wiki locally