Skip to main content
Ctrl+K

kRPC Documentation

  • Getting Started
  • Tutorials
  • C-nano
  • C#
  • C++
  • Java
  • Lua
  • Python
    • Other Clients, Services and Scripts
    • Compiling kRPC
    • Extending kRPC
    • Communication Protocols
    • Internals of kRPC
    • Changelog
  • GitHub
  • Getting Started
  • Tutorials
  • C-nano
  • C#
  • C++
  • Java
  • Lua
  • Python
  • Other Clients, Services and Scripts
  • Compiling kRPC
  • Extending kRPC
  • Communication Protocols
  • Internals of kRPC
  • Changelog
  • GitHub

Section Navigation

  • Python Client
  • KRPC API
    • KRPC
    • Expressions
  • Standard Library
  • SpaceCenter API
    • SpaceCenter
    • Vessel
    • Stage
    • Editor
    • CelestialBody
    • Flight
    • Orbit
    • Closest Approach
    • Control
    • Communications
    • Parts
    • Resources
    • Node
    • ReferenceFrame
    • AutoPilot
    • Camera
    • Waypoints
    • Contracts
    • Geometry Types
    • Alarms
  • Drawing API
    • Drawing
    • Arc
    • Box
    • Circle
    • Image
    • Line
    • MapMarker
    • NavballMarker
    • OrbitPath
    • Point
    • Polygon
    • Polyline
    • Sphere
    • Text
  • User Interface API
    • UI
    • Canvas
    • Panel
    • Text
    • Button
    • InputField
    • Toggle
    • Toggle Group
    • Slider
    • Dropdown
    • Image
    • Scroll View
    • Layout
    • Layout Element
    • Size Fitter
    • Rect Transform
  • InfernalRobotics API
    • InfernalRobotics
    • ServoGroup
    • Servo
  • Kerbal Alarm Clock API
    • KerbalAlarmClock
    • Alarm
    • AlarmType
    • AlarmAction
  • RemoteTech API
    • RemoteTech
    • Comms
    • Antenna
  • LIDAR API
    • LIDAR
    • Laser
  • Docking Camera API
    • DockingCamera
    • Camera
  • Debug API
    • Debug
  • Python
  • Drawing API
  • NavballMarker

NavballMarker#

class NavballMarker#

A marker drawn on the navball. Created using add_navball_marker().

direction#

Direction that the marker is drawn at.

Attribute:

Can be read or written

Return type:

tuple(float, float, float)

Game Scenes:

Flight

reference_frame#

Reference frame that the direction of the marker is in.

Attribute:

Can be read or written

Return type:

SpaceCenter.ReferenceFrame

Game Scenes:

Flight

visible#

Whether the marker is visible.

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

Note

A visible marker is still hidden while it is on the far side of the navball.

color#

Set the color

Attribute:

Can be read or written

Return type:

StdLib.ColorRGB

Game Scenes:

Flight

icon#

The icon that the marker is drawn with. See NavballMarker.available_icons() for the icons that can be used.

Attribute:

Can be read or written

Return type:

str

Game Scenes:

Flight

image#

The image that the marker is drawn with in place of its icon, or null to draw the icon.

Attribute:

Can be read or written

Return type:

Image or None

Game Scenes:

Flight

static available_icons()#

A list of all available icons, taken from “GameData/Squad/Contracts/Icons/”.

Return type:

list(str)

Game Scenes:

Flight

size#

Size of the marker, relative to the size of the navball’s own markers.

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

remove()#

Remove the marker.

Game Scenes:

Flight

previous

MapMarker

next

OrbitPath

Show Source

© Copyright 2015-2026, kRPC Org.

Created using Sphinx 9.1.1.

Built with the PyData Sphinx Theme 0.23.0.