# API

<!-- Generated by documentation.js. Update this documentation by updating the source code. -->

### Table of Contents

-   [SpaceCenter](#spacecenter)
-   [clearTarget](#cleartarget)
-   [launchableVessels](#launchablevessels)
-   [launchVessel](#launchvessel)
-   [launchVesselFromVab](#launchvesselfromvab)
-   [launchVesselFromSph](#launchvesselfromsph)
-   [save](#save)
-   [load](#load)
-   [quicksave](#quicksave)
-   [quickload](#quickload)
-   [canRailsWarpAt](#canrailswarpat)
-   [warpTo](#warpto)
-   [transformPosition](#transformposition)
-   [transformDirection](#transformdirection)
-   [transformRotation](#transformrotation)
-   [transformVelocity](#transformvelocity)
-   [raycastDistance](#raycastdistance)
-   [raycastPart](#raycastpart)
-   [getActiveVessel](#getactivevessel)
-   [setActiveVessel](#setactivevessel)
-   [getVessels](#getvessels)
-   [getBodies](#getbodies)
-   [getTargetBody](#gettargetbody)
-   [setTargetBody](#settargetbody)
-   [getTargetVessel](#gettargetvessel)
-   [setTargetVessel](#settargetvessel)
-   [getTargetDockingPort](#gettargetdockingport)
-   [setTargetDockingPort](#settargetdockingport)
-   [getWaypointManager](#getwaypointmanager)
-   [getContractManager](#getcontractmanager)
-   [getCamera](#getcamera)
-   [getUiVisible](#getuivisible)
-   [setUiVisible](#setuivisible)
-   [getNavball](#getnavball)
-   [setNavball](#setnavball)
-   [getUt](#getut)
-   [getG](#getg)
-   [getWarpMode](#getwarpmode)
-   [getWarpRate](#getwarprate)
-   [getWarpFactor](#getwarpfactor)
-   [getRailsWarpFactor](#getrailswarpfactor)
-   [setRailsWarpFactor](#setrailswarpfactor)
-   [getPhysicsWarpFactor](#getphysicswarpfactor)
-   [setPhysicsWarpFactor](#setphysicswarpfactor)
-   [getMaximumRailsWarpFactor](#getmaximumrailswarpfactor)
-   [getFarAvailable](#getfaravailable)
-   [autoPilotEngage](#autopilotengage)
-   [autoPilotDisengage](#autopilotdisengage)
-   [autoPilotWait](#autopilotwait)
-   [autoPilotTargetPitchAndHeading](#autopilottargetpitchandheading)
-   [autoPilotGetError](#autopilotgeterror)
-   [autoPilotGetPitchError](#autopilotgetpitcherror)
-   [autoPilotGetHeadingError](#autopilotgetheadingerror)
-   [autoPilotGetRollError](#autopilotgetrollerror)
-   [autoPilotGetReferenceFrame](#autopilotgetreferenceframe)
-   [autoPilotSetReferenceFrame](#autopilotsetreferenceframe)
-   [autoPilotGetTargetPitch](#autopilotgettargetpitch)
-   [autoPilotSetTargetPitch](#autopilotsettargetpitch)
-   [autoPilotGetTargetHeading](#autopilotgettargetheading)
-   [autoPilotSetTargetHeading](#autopilotsettargetheading)
-   [autoPilotGetTargetRoll](#autopilotgettargetroll)
-   [autoPilotSetTargetRoll](#autopilotsettargetroll)
-   [autoPilotGetTargetDirection](#autopilotgettargetdirection)
-   [autoPilotSetTargetDirection](#autopilotsettargetdirection)
-   [autoPilotGetSas](#autopilotgetsas)
-   [autoPilotSetSas](#autopilotsetsas)
-   [autoPilotGetSasMode](#autopilotgetsasmode)
-   [autoPilotSetSasMode](#autopilotsetsasmode)
-   [autoPilotGetRollThreshold](#autopilotgetrollthreshold)
-   [autoPilotSetRollThreshold](#autopilotsetrollthreshold)
-   [autoPilotGetStoppingTime](#autopilotgetstoppingtime)
-   [autoPilotSetStoppingTime](#autopilotsetstoppingtime)
-   [autoPilotGetDecelerationTime](#autopilotgetdecelerationtime)
-   [autoPilotSetDecelerationTime](#autopilotsetdecelerationtime)
-   [autoPilotGetAttenuationAngle](#autopilotgetattenuationangle)
-   [autoPilotSetAttenuationAngle](#autopilotsetattenuationangle)
-   [autoPilotGetAutoTune](#autopilotgetautotune)
-   [autoPilotSetAutoTune](#autopilotsetautotune)
-   [autoPilotGetTimeToPeak](#autopilotgettimetopeak)
-   [autoPilotSetTimeToPeak](#autopilotsettimetopeak)
-   [autoPilotGetOvershoot](#autopilotgetovershoot)
-   [autoPilotSetOvershoot](#autopilotsetovershoot)
-   [autoPilotGetPitchPidGains](#autopilotgetpitchpidgains)
-   [autoPilotSetPitchPidGains](#autopilotsetpitchpidgains)
-   [autoPilotGetRollPidGains](#autopilotgetrollpidgains)
-   [autoPilotSetRollPidGains](#autopilotsetrollpidgains)
-   [autoPilotGetYawPidGains](#autopilotgetyawpidgains)
-   [autoPilotSetYawPidGains](#autopilotsetyawpidgains)
-   [cameraGetMode](#cameragetmode)
-   [cameraSetMode](#camerasetmode)
-   [cameraGetPitch](#cameragetpitch)
-   [cameraSetPitch](#camerasetpitch)
-   [cameraGetHeading](#cameragetheading)
-   [cameraSetHeading](#camerasetheading)
-   [cameraGetDistance](#cameragetdistance)
-   [cameraSetDistance](#camerasetdistance)
-   [cameraGetMinPitch](#cameragetminpitch)
-   [cameraGetMaxPitch](#cameragetmaxpitch)
-   [cameraGetMinDistance](#cameragetmindistance)
-   [cameraGetMaxDistance](#cameragetmaxdistance)
-   [cameraGetDefaultDistance](#cameragetdefaultdistance)
-   [cameraGetFocussedBody](#cameragetfocussedbody)
-   [cameraSetFocussedBody](#camerasetfocussedbody)
-   [cameraGetFocussedVessel](#cameragetfocussedvessel)
-   [cameraSetFocussedVessel](#camerasetfocussedvessel)
-   [cameraGetFocussedNode](#cameragetfocussednode)
-   [cameraSetFocussedNode](#camerasetfocussednode)
-   [celestialBodySurfaceHeight](#celestialbodysurfaceheight)
-   [celestialBodyBedrockHeight](#celestialbodybedrockheight)
-   [celestialBodyMslPosition](#celestialbodymslposition)
-   [celestialBodySurfacePosition](#celestialbodysurfaceposition)
-   [celestialBodyBedrockPosition](#celestialbodybedrockposition)
-   [celestialBodyPositionAtAltitude](#celestialbodypositionataltitude)
-   [celestialBodyLatitudeAtPosition](#celestialbodylatitudeatposition)
-   [celestialBodyLongitudeAtPosition](#celestialbodylongitudeatposition)
-   [celestialBodyAltitudeAtPosition](#celestialbodyaltitudeatposition)
-   [celestialBodyAtmosphericDensityAtPosition](#celestialbodyatmosphericdensityatposition)
-   [celestialBodyTemperatureAt](#celestialbodytemperatureat)
-   [celestialBodyDensityAt](#celestialbodydensityat)
-   [celestialBodyPressureAt](#celestialbodypressureat)
-   [celestialBodyBiomeAt](#celestialbodybiomeat)
-   [celestialBodyPosition](#celestialbodyposition)
-   [celestialBodyVelocity](#celestialbodyvelocity)
-   [celestialBodyRotation](#celestialbodyrotation)
-   [celestialBodyDirection](#celestialbodydirection)
-   [celestialBodyAngularVelocity](#celestialbodyangularvelocity)
-   [celestialBodyGetName](#celestialbodygetname)
-   [celestialBodyGetSatellites](#celestialbodygetsatellites)
-   [celestialBodyGetMass](#celestialbodygetmass)
-   [celestialBodyGetGravitationalParameter](#celestialbodygetgravitationalparameter)
-   [celestialBodyGetSurfaceGravity](#celestialbodygetsurfacegravity)
-   [celestialBodyGetRotationalPeriod](#celestialbodygetrotationalperiod)
-   [celestialBodyGetRotationalSpeed](#celestialbodygetrotationalspeed)
-   [celestialBodyGetRotationAngle](#celestialbodygetrotationangle)
-   [celestialBodyGetInitialRotation](#celestialbodygetinitialrotation)
-   [celestialBodyGetEquatorialRadius](#celestialbodygetequatorialradius)
-   [celestialBodyGetSphereOfInfluence](#celestialbodygetsphereofinfluence)
-   [celestialBodyGetOrbit](#celestialbodygetorbit)
-   [celestialBodyGetHasAtmosphere](#celestialbodygethasatmosphere)
-   [celestialBodyGetAtmosphereDepth](#celestialbodygetatmospheredepth)
-   [celestialBodyGetHasAtmosphericOxygen](#celestialbodygethasatmosphericoxygen)
-   [celestialBodyGetBiomes](#celestialbodygetbiomes)
-   [celestialBodyGetFlyingHighAltitudeThreshold](#celestialbodygetflyinghighaltitudethreshold)
-   [celestialBodyGetSpaceHighAltitudeThreshold](#celestialbodygetspacehighaltitudethreshold)
-   [celestialBodyGetReferenceFrame](#celestialbodygetreferenceframe)
-   [celestialBodyGetNonRotatingReferenceFrame](#celestialbodygetnonrotatingreferenceframe)
-   [celestialBodyGetOrbitalReferenceFrame](#celestialbodygetorbitalreferenceframe)
-   [commLinkGetType](#commlinkgettype)
-   [commLinkGetSignalStrength](#commlinkgetsignalstrength)
-   [commLinkGetStart](#commlinkgetstart)
-   [commLinkGetEnd](#commlinkgetend)
-   [commNodeGetName](#commnodegetname)
-   [commNodeGetIsHome](#commnodegetishome)
-   [commNodeGetIsControlPoint](#commnodegetiscontrolpoint)
-   [commNodeGetIsVessel](#commnodegetisvessel)
-   [commNodeGetVessel](#commnodegetvessel)
-   [commsGetCanCommunicate](#commsgetcancommunicate)
-   [commsGetCanTransmitScience](#commsgetcantransmitscience)
-   [commsGetSignalStrength](#commsgetsignalstrength)
-   [commsGetSignalDelay](#commsgetsignaldelay)
-   [commsGetPower](#commsgetpower)
-   [commsGetControlPath](#commsgetcontrolpath)
-   [contractCancel](#contractcancel)
-   [contractAccept](#contractaccept)
-   [contractDecline](#contractdecline)
-   [contractGetType](#contractgettype)
-   [contractGetTitle](#contractgettitle)
-   [contractGetDescription](#contractgetdescription)
-   [contractGetNotes](#contractgetnotes)
-   [contractGetSynopsis](#contractgetsynopsis)
-   [contractGetKeywords](#contractgetkeywords)
-   [contractGetState](#contractgetstate)
-   [contractGetActive](#contractgetactive)
-   [contractGetFailed](#contractgetfailed)
-   [contractGetSeen](#contractgetseen)
-   [contractGetRead](#contractgetread)
-   [contractGetCanBeCanceled](#contractgetcanbecanceled)
-   [contractGetCanBeDeclined](#contractgetcanbedeclined)
-   [contractGetCanBeFailed](#contractgetcanbefailed)
-   [contractGetFundsAdvance](#contractgetfundsadvance)
-   [contractGetFundsCompletion](#contractgetfundscompletion)
-   [contractGetFundsFailure](#contractgetfundsfailure)
-   [contractGetReputationCompletion](#contractgetreputationcompletion)
-   [contractGetReputationFailure](#contractgetreputationfailure)
-   [contractGetScienceCompletion](#contractgetsciencecompletion)
-   [contractGetParameters](#contractgetparameters)
-   [contractManagerGetTypes](#contractmanagergettypes)
-   [contractManagerGetAllContracts](#contractmanagergetallcontracts)
-   [contractManagerGetActiveContracts](#contractmanagergetactivecontracts)
-   [contractManagerGetOfferedContracts](#contractmanagergetofferedcontracts)
-   [contractManagerGetCompletedContracts](#contractmanagergetcompletedcontracts)
-   [contractManagerGetFailedContracts](#contractmanagergetfailedcontracts)
-   [contractParameterGetTitle](#contractparametergettitle)
-   [contractParameterGetNotes](#contractparametergetnotes)
-   [contractParameterGetChildren](#contractparametergetchildren)
-   [contractParameterGetCompleted](#contractparametergetcompleted)
-   [contractParameterGetFailed](#contractparametergetfailed)
-   [contractParameterGetOptional](#contractparametergetoptional)
-   [contractParameterGetFundsCompletion](#contractparametergetfundscompletion)
-   [contractParameterGetFundsFailure](#contractparametergetfundsfailure)
-   [contractParameterGetReputationCompletion](#contractparametergetreputationcompletion)
-   [contractParameterGetReputationFailure](#contractparametergetreputationfailure)
-   [contractParameterGetScienceCompletion](#contractparametergetsciencecompletion)
-   [controlActivateNextStage](#controlactivatenextstage)
-   [controlGetActionGroup](#controlgetactiongroup)
-   [controlSetActionGroup](#controlsetactiongroup)
-   [controlToggleActionGroup](#controltoggleactiongroup)
-   [controlAddNode](#controladdnode)
-   [controlRemoveNodes](#controlremovenodes)
-   [controlGetState](#controlgetstate)
-   [controlGetSource](#controlgetsource)
-   [controlGetSas](#controlgetsas)
-   [controlSetSas](#controlsetsas)
-   [controlGetSasMode](#controlgetsasmode)
-   [controlSetSasMode](#controlsetsasmode)
-   [controlGetSpeedMode](#controlgetspeedmode)
-   [controlSetSpeedMode](#controlsetspeedmode)
-   [controlGetRcs](#controlgetrcs)
-   [controlSetRcs](#controlsetrcs)
-   [controlGetReactionWheels](#controlgetreactionwheels)
-   [controlSetReactionWheels](#controlsetreactionwheels)
-   [controlGetGear](#controlgetgear)
-   [controlSetGear](#controlsetgear)
-   [controlGetLegs](#controlgetlegs)
-   [controlSetLegs](#controlsetlegs)
-   [controlGetWheels](#controlgetwheels)
-   [controlSetWheels](#controlsetwheels)
-   [controlGetLights](#controlgetlights)
-   [controlSetLights](#controlsetlights)
-   [controlGetBrakes](#controlgetbrakes)
-   [controlSetBrakes](#controlsetbrakes)
-   [controlGetAntennas](#controlgetantennas)
-   [controlSetAntennas](#controlsetantennas)
-   [controlGetCargoBays](#controlgetcargobays)
-   [controlSetCargoBays](#controlsetcargobays)
-   [controlGetIntakes](#controlgetintakes)
-   [controlSetIntakes](#controlsetintakes)
-   [controlGetParachutes](#controlgetparachutes)
-   [controlSetParachutes](#controlsetparachutes)
-   [controlGetRadiators](#controlgetradiators)
-   [controlSetRadiators](#controlsetradiators)
-   [controlGetResourceHarvesters](#controlgetresourceharvesters)
-   [controlSetResourceHarvesters](#controlsetresourceharvesters)
-   [controlGetResourceHarvestersActive](#controlgetresourceharvestersactive)
-   [controlSetResourceHarvestersActive](#controlsetresourceharvestersactive)
-   [controlGetSolarPanels](#controlgetsolarpanels)
-   [controlSetSolarPanels](#controlsetsolarpanels)
-   [controlGetAbort](#controlgetabort)
-   [controlSetAbort](#controlsetabort)
-   [controlGetThrottle](#controlgetthrottle)
-   [controlSetThrottle](#controlsetthrottle)
-   [controlGetInputMode](#controlgetinputmode)
-   [controlSetInputMode](#controlsetinputmode)
-   [controlGetPitch](#controlgetpitch)
-   [controlSetPitch](#controlsetpitch)
-   [controlGetYaw](#controlgetyaw)
-   [controlSetYaw](#controlsetyaw)
-   [controlGetRoll](#controlgetroll)
-   [controlSetRoll](#controlsetroll)
-   [controlGetForward](#controlgetforward)
-   [controlSetForward](#controlsetforward)
-   [controlGetUp](#controlgetup)
-   [controlSetUp](#controlsetup)
-   [controlGetRight](#controlgetright)
-   [controlSetRight](#controlsetright)
-   [controlGetWheelThrottle](#controlgetwheelthrottle)
-   [controlSetWheelThrottle](#controlsetwheelthrottle)
-   [controlGetWheelSteering](#controlgetwheelsteering)
-   [controlSetWheelSteering](#controlsetwheelsteering)
-   [controlGetCurrentStage](#controlgetcurrentstage)
-   [controlGetNodes](#controlgetnodes)
-   [crewMemberGetName](#crewmembergetname)
-   [crewMemberSetName](#crewmembersetname)
-   [crewMemberGetType](#crewmembergettype)
-   [crewMemberGetOnMission](#crewmembergetonmission)
-   [crewMemberGetCourage](#crewmembergetcourage)
-   [crewMemberSetCourage](#crewmembersetcourage)
-   [crewMemberGetStupidity](#crewmembergetstupidity)
-   [crewMemberSetStupidity](#crewmembersetstupidity)
-   [crewMemberGetExperience](#crewmembergetexperience)
-   [crewMemberSetExperience](#crewmembersetexperience)
-   [crewMemberGetBadass](#crewmembergetbadass)
-   [crewMemberSetBadass](#crewmembersetbadass)
-   [crewMemberGetVeteran](#crewmembergetveteran)
-   [crewMemberSetVeteran](#crewmembersetveteran)
-   [flightSimulateAerodynamicForceAt](#flightsimulateaerodynamicforceat)
-   [flightGetGForce](#flightgetgforce)
-   [flightGetMeanAltitude](#flightgetmeanaltitude)
-   [flightGetSurfaceAltitude](#flightgetsurfacealtitude)
-   [flightGetBedrockAltitude](#flightgetbedrockaltitude)
-   [flightGetElevation](#flightgetelevation)
-   [flightGetLatitude](#flightgetlatitude)
-   [flightGetLongitude](#flightgetlongitude)
-   [flightGetVelocity](#flightgetvelocity)
-   [flightGetSpeed](#flightgetspeed)
-   [flightGetHorizontalSpeed](#flightgethorizontalspeed)
-   [flightGetVerticalSpeed](#flightgetverticalspeed)
-   [flightGetCenterOfMass](#flightgetcenterofmass)
-   [flightGetRotation](#flightgetrotation)
-   [flightGetDirection](#flightgetdirection)
-   [flightGetPitch](#flightgetpitch)
-   [flightGetHeading](#flightgetheading)
-   [flightGetRoll](#flightgetroll)
-   [flightGetPrograde](#flightgetprograde)
-   [flightGetRetrograde](#flightgetretrograde)
-   [flightGetNormal](#flightgetnormal)
-   [flightGetAntiNormal](#flightgetantinormal)
-   [flightGetRadial](#flightgetradial)
-   [flightGetAntiRadial](#flightgetantiradial)
-   [flightGetAtmosphereDensity](#flightgetatmospheredensity)
-   [flightGetDynamicPressure](#flightgetdynamicpressure)
-   [flightGetStaticPressureAtMsl](#flightgetstaticpressureatmsl)
-   [flightGetStaticPressure](#flightgetstaticpressure)
-   [flightGetAerodynamicForce](#flightgetaerodynamicforce)
-   [flightGetLift](#flightgetlift)
-   [flightGetDrag](#flightgetdrag)
-   [flightGetSpeedOfSound](#flightgetspeedofsound)
-   [flightGetMach](#flightgetmach)
-   [flightGetReynoldsNumber](#flightgetreynoldsnumber)
-   [flightGetTrueAirSpeed](#flightgettrueairspeed)
-   [flightGetEquivalentAirSpeed](#flightgetequivalentairspeed)
-   [flightGetTerminalVelocity](#flightgetterminalvelocity)
-   [flightGetAngleOfAttack](#flightgetangleofattack)
-   [flightGetSideslipAngle](#flightgetsideslipangle)
-   [flightGetTotalAirTemperature](#flightgettotalairtemperature)
-   [flightGetStaticAirTemperature](#flightgetstaticairtemperature)
-   [flightGetStallFraction](#flightgetstallfraction)
-   [flightGetDragCoefficient](#flightgetdragcoefficient)
-   [flightGetLiftCoefficient](#flightgetliftcoefficient)
-   [flightGetBallisticCoefficient](#flightgetballisticcoefficient)
-   [flightGetThrustSpecificFuelConsumption](#flightgetthrustspecificfuelconsumption)
-   [nodeBurnVector](#nodeburnvector)
-   [nodeRemainingBurnVector](#noderemainingburnvector)
-   [nodeRemove](#noderemove)
-   [nodePosition](#nodeposition)
-   [nodeDirection](#nodedirection)
-   [nodeGetPrograde](#nodegetprograde)
-   [nodeSetPrograde](#nodesetprograde)
-   [nodeGetNormal](#nodegetnormal)
-   [nodeSetNormal](#nodesetnormal)
-   [nodeGetRadial](#nodegetradial)
-   [nodeSetRadial](#nodesetradial)
-   [nodeGetDeltaV](#nodegetdeltav)
-   [nodeSetDeltaV](#nodesetdeltav)
-   [nodeGetRemainingDeltaV](#nodegetremainingdeltav)
-   [nodeGetUt](#nodegetut)
-   [nodeSetUt](#nodesetut)
-   [nodeGetTimeTo](#nodegettimeto)
-   [nodeGetOrbit](#nodegetorbit)
-   [nodeGetReferenceFrame](#nodegetreferenceframe)
-   [nodeGetOrbitalReferenceFrame](#nodegetorbitalreferenceframe)
-   [orbitStaticReferencePlaneNormal](#orbitstaticreferenceplanenormal)
-   [orbitStaticReferencePlaneDirection](#orbitstaticreferenceplanedirection)
-   [orbitMeanAnomalyAtUt](#orbitmeananomalyatut)
-   [orbitRadiusAtTrueAnomaly](#orbitradiusattrueanomaly)
-   [orbitTrueAnomalyAtRadius](#orbittrueanomalyatradius)
-   [orbitTrueAnomalyAtUt](#orbittrueanomalyatut)
-   [orbitUtAtTrueAnomaly](#orbitutattrueanomaly)
-   [orbitEccentricAnomalyAtUt](#orbiteccentricanomalyatut)
-   [orbitOrbitalSpeedAt](#orbitorbitalspeedat)
-   [orbitRadiusAt](#orbitradiusat)
-   [orbitPositionAt](#orbitpositionat)
-   [orbitTimeOfClosestApproach](#orbittimeofclosestapproach)
-   [orbitDistanceAtClosestApproach](#orbitdistanceatclosestapproach)
-   [orbitListClosestApproaches](#orbitlistclosestapproaches)
-   [orbitTrueAnomalyAtAn](#orbittrueanomalyatan)
-   [orbitTrueAnomalyAtDn](#orbittrueanomalyatdn)
-   [orbitRelativeInclination](#orbitrelativeinclination)
-   [orbitGetBody](#orbitgetbody)
-   [orbitGetApoapsis](#orbitgetapoapsis)
-   [orbitGetPeriapsis](#orbitgetperiapsis)
-   [orbitGetApoapsisAltitude](#orbitgetapoapsisaltitude)
-   [orbitGetPeriapsisAltitude](#orbitgetperiapsisaltitude)
-   [orbitGetSemiMajorAxis](#orbitgetsemimajoraxis)
-   [orbitGetSemiMinorAxis](#orbitgetsemiminoraxis)
-   [orbitGetRadius](#orbitgetradius)
-   [orbitGetSpeed](#orbitgetspeed)
-   [orbitGetPeriod](#orbitgetperiod)
-   [orbitGetTimeToApoapsis](#orbitgettimetoapoapsis)
-   [orbitGetTimeToPeriapsis](#orbitgettimetoperiapsis)
-   [orbitGetEccentricity](#orbitgeteccentricity)
-   [orbitGetInclination](#orbitgetinclination)
-   [orbitGetLongitudeOfAscendingNode](#orbitgetlongitudeofascendingnode)
-   [orbitGetArgumentOfPeriapsis](#orbitgetargumentofperiapsis)
-   [orbitGetMeanAnomalyAtEpoch](#orbitgetmeananomalyatepoch)
-   [orbitGetEpoch](#orbitgetepoch)
-   [orbitGetMeanAnomaly](#orbitgetmeananomaly)
-   [orbitGetEccentricAnomaly](#orbitgeteccentricanomaly)
-   [orbitGetTrueAnomaly](#orbitgettrueanomaly)
-   [orbitGetNextOrbit](#orbitgetnextorbit)
-   [orbitGetTimeToSoiChange](#orbitgettimetosoichange)
-   [orbitGetOrbitalSpeed](#orbitgetorbitalspeed)
-   [antennaTransmit](#antennatransmit)
-   [antennaCancel](#antennacancel)
-   [antennaGetPart](#antennagetpart)
-   [antennaGetState](#antennagetstate)
-   [antennaGetDeployable](#antennagetdeployable)
-   [antennaGetDeployed](#antennagetdeployed)
-   [antennaSetDeployed](#antennasetdeployed)
-   [antennaGetCanTransmit](#antennagetcantransmit)
-   [antennaGetAllowPartial](#antennagetallowpartial)
-   [antennaSetAllowPartial](#antennasetallowpartial)
-   [antennaGetPower](#antennagetpower)
-   [antennaGetCombinable](#antennagetcombinable)
-   [antennaGetCombinableExponent](#antennagetcombinableexponent)
-   [antennaGetPacketInterval](#antennagetpacketinterval)
-   [antennaGetPacketSize](#antennagetpacketsize)
-   [antennaGetPacketResourceCost](#antennagetpacketresourcecost)
-   [cargoBayGetPart](#cargobaygetpart)
-   [cargoBayGetState](#cargobaygetstate)
-   [cargoBayGetOpen](#cargobaygetopen)
-   [cargoBaySetOpen](#cargobaysetopen)
-   [controlSurfaceGetPart](#controlsurfacegetpart)
-   [controlSurfaceGetPitchEnabled](#controlsurfacegetpitchenabled)
-   [controlSurfaceSetPitchEnabled](#controlsurfacesetpitchenabled)
-   [controlSurfaceGetYawEnabled](#controlsurfacegetyawenabled)
-   [controlSurfaceSetYawEnabled](#controlsurfacesetyawenabled)
-   [controlSurfaceGetRollEnabled](#controlsurfacegetrollenabled)
-   [controlSurfaceSetRollEnabled](#controlsurfacesetrollenabled)
-   [controlSurfaceGetAuthorityLimiter](#controlsurfacegetauthoritylimiter)
-   [controlSurfaceSetAuthorityLimiter](#controlsurfacesetauthoritylimiter)
-   [controlSurfaceGetInverted](#controlsurfacegetinverted)
-   [controlSurfaceSetInverted](#controlsurfacesetinverted)
-   [controlSurfaceGetDeployed](#controlsurfacegetdeployed)
-   [controlSurfaceSetDeployed](#controlsurfacesetdeployed)
-   [controlSurfaceGetSurfaceArea](#controlsurfacegetsurfacearea)
-   [controlSurfaceGetAvailableTorque](#controlsurfacegetavailabletorque)
-   [decouplerDecouple](#decouplerdecouple)
-   [decouplerGetPart](#decouplergetpart)
-   [decouplerGetDecoupled](#decouplergetdecoupled)
-   [decouplerGetStaged](#decouplergetstaged)
-   [decouplerGetImpulse](#decouplergetimpulse)
-   [dockingPortUndock](#dockingportundock)
-   [dockingPortPosition](#dockingportposition)
-   [dockingPortDirection](#dockingportdirection)
-   [dockingPortRotation](#dockingportrotation)
-   [dockingPortGetPart](#dockingportgetpart)
-   [dockingPortGetState](#dockingportgetstate)
-   [dockingPortGetDockedPart](#dockingportgetdockedpart)
-   [dockingPortGetReengageDistance](#dockingportgetreengagedistance)
-   [dockingPortGetHasShield](#dockingportgethasshield)
-   [dockingPortGetShielded](#dockingportgetshielded)
-   [dockingPortSetShielded](#dockingportsetshielded)
-   [dockingPortGetReferenceFrame](#dockingportgetreferenceframe)
-   [engineToggleMode](#enginetogglemode)
-   [engineGetPart](#enginegetpart)
-   [engineGetActive](#enginegetactive)
-   [engineSetActive](#enginesetactive)
-   [engineGetThrust](#enginegetthrust)
-   [engineGetAvailableThrust](#enginegetavailablethrust)
-   [engineGetMaxThrust](#enginegetmaxthrust)
-   [engineGetMaxVacuumThrust](#enginegetmaxvacuumthrust)
-   [engineGetThrustLimit](#enginegetthrustlimit)
-   [engineSetThrustLimit](#enginesetthrustlimit)
-   [engineGetThrusters](#enginegetthrusters)
-   [engineGetSpecificImpulse](#enginegetspecificimpulse)
-   [engineGetVacuumSpecificImpulse](#enginegetvacuumspecificimpulse)
-   [engineGetKerbinSeaLevelSpecificImpulse](#enginegetkerbinsealevelspecificimpulse)
-   [engineGetPropellantNames](#enginegetpropellantnames)
-   [engineGetPropellants](#enginegetpropellants)
-   [engineGetPropellantRatios](#enginegetpropellantratios)
-   [engineGetHasFuel](#enginegethasfuel)
-   [engineGetThrottle](#enginegetthrottle)
-   [engineGetThrottleLocked](#enginegetthrottlelocked)
-   [engineGetCanRestart](#enginegetcanrestart)
-   [engineGetCanShutdown](#enginegetcanshutdown)
-   [engineGetHasModes](#enginegethasmodes)
-   [engineGetMode](#enginegetmode)
-   [engineSetMode](#enginesetmode)
-   [engineGetModes](#enginegetmodes)
-   [engineGetAutoModeSwitch](#enginegetautomodeswitch)
-   [engineSetAutoModeSwitch](#enginesetautomodeswitch)
-   [engineGetGimballed](#enginegetgimballed)
-   [engineGetGimbalRange](#enginegetgimbalrange)
-   [engineGetGimbalLocked](#enginegetgimballocked)
-   [engineSetGimbalLocked](#enginesetgimballocked)
-   [engineGetGimbalLimit](#enginegetgimballimit)
-   [engineSetGimbalLimit](#enginesetgimballimit)
-   [engineGetAvailableTorque](#enginegetavailabletorque)
-   [experimentRun](#experimentrun)
-   [experimentTransmit](#experimenttransmit)
-   [experimentDump](#experimentdump)
-   [experimentReset](#experimentreset)
-   [experimentGetPart](#experimentgetpart)
-   [experimentGetInoperable](#experimentgetinoperable)
-   [experimentGetDeployed](#experimentgetdeployed)
-   [experimentGetRerunnable](#experimentgetrerunnable)
-   [experimentGetHasData](#experimentgethasdata)
-   [experimentGetData](#experimentgetdata)
-   [experimentGetAvailable](#experimentgetavailable)
-   [experimentGetBiome](#experimentgetbiome)
-   [experimentGetScienceSubject](#experimentgetsciencesubject)
-   [fairingJettison](#fairingjettison)
-   [fairingGetPart](#fairinggetpart)
-   [fairingGetJettisoned](#fairinggetjettisoned)
-   [forceRemove](#forceremove)
-   [forceGetPart](#forcegetpart)
-   [forceGetForceVector](#forcegetforcevector)
-   [forceSetForceVector](#forcesetforcevector)
-   [forceGetPosition](#forcegetposition)
-   [forceSetPosition](#forcesetposition)
-   [forceGetReferenceFrame](#forcegetreferenceframe)
-   [forceSetReferenceFrame](#forcesetreferenceframe)
-   [intakeGetPart](#intakegetpart)
-   [intakeGetOpen](#intakegetopen)
-   [intakeSetOpen](#intakesetopen)
-   [intakeGetSpeed](#intakegetspeed)
-   [intakeGetFlow](#intakegetflow)
-   [intakeGetArea](#intakegetarea)
-   [launchClampRelease](#launchclamprelease)
-   [launchClampGetPart](#launchclampgetpart)
-   [legGetPart](#leggetpart)
-   [legGetState](#leggetstate)
-   [legGetDeployable](#leggetdeployable)
-   [legGetDeployed](#leggetdeployed)
-   [legSetDeployed](#legsetdeployed)
-   [legGetIsGrounded](#leggetisgrounded)
-   [lightGetPart](#lightgetpart)
-   [lightGetActive](#lightgetactive)
-   [lightSetActive](#lightsetactive)
-   [lightGetColor](#lightgetcolor)
-   [lightSetColor](#lightsetcolor)
-   [lightGetPowerUsage](#lightgetpowerusage)
-   [moduleHasField](#modulehasfield)
-   [moduleGetField](#modulegetfield)
-   [moduleSetFieldInt](#modulesetfieldint)
-   [moduleSetFieldFloat](#modulesetfieldfloat)
-   [moduleSetFieldString](#modulesetfieldstring)
-   [moduleResetField](#moduleresetfield)
-   [moduleHasEvent](#modulehasevent)
-   [moduleTriggerEvent](#moduletriggerevent)
-   [moduleHasAction](#modulehasaction)
-   [moduleSetAction](#modulesetaction)
-   [moduleGetName](#modulegetname)
-   [moduleGetPart](#modulegetpart)
-   [moduleGetFields](#modulegetfields)
-   [moduleGetEvents](#modulegetevents)
-   [moduleGetActions](#modulegetactions)
-   [parachuteDeploy](#parachutedeploy)
-   [parachuteArm](#parachutearm)
-   [parachuteGetPart](#parachutegetpart)
-   [parachuteGetDeployed](#parachutegetdeployed)
-   [parachuteGetArmed](#parachutegetarmed)
-   [parachuteGetState](#parachutegetstate)
-   [parachuteGetDeployAltitude](#parachutegetdeployaltitude)
-   [parachuteSetDeployAltitude](#parachutesetdeployaltitude)
-   [parachuteGetDeployMinPressure](#parachutegetdeployminpressure)
-   [parachuteSetDeployMinPressure](#parachutesetdeployminpressure)
-   [partPosition](#partposition)
-   [partCenterOfMass](#partcenterofmass)
-   [partBoundingBox](#partboundingbox)
-   [partDirection](#partdirection)
-   [partVelocity](#partvelocity)
-   [partRotation](#partrotation)
-   [partAddForce](#partaddforce)
-   [partInstantaneousForce](#partinstantaneousforce)
-   [partGetName](#partgetname)
-   [partGetTitle](#partgettitle)
-   [partGetTag](#partgettag)
-   [partSetTag](#partsettag)
-   [partGetHighlighted](#partgethighlighted)
-   [partSetHighlighted](#partsethighlighted)
-   [partGetHighlightColor](#partgethighlightcolor)
-   [partSetHighlightColor](#partsethighlightcolor)
-   [partGetCost](#partgetcost)
-   [partGetVessel](#partgetvessel)
-   [partGetParent](#partgetparent)
-   [partGetChildren](#partgetchildren)
-   [partGetAxiallyAttached](#partgetaxiallyattached)
-   [partGetRadiallyAttached](#partgetradiallyattached)
-   [partGetStage](#partgetstage)
-   [partGetDecoupleStage](#partgetdecouplestage)
-   [partGetMassless](#partgetmassless)
-   [partGetMass](#partgetmass)
-   [partGetDryMass](#partgetdrymass)
-   [partGetShielded](#partgetshielded)
-   [partGetDynamicPressure](#partgetdynamicpressure)
-   [partGetImpactTolerance](#partgetimpacttolerance)
-   [partGetTemperature](#partgettemperature)
-   [partGetSkinTemperature](#partgetskintemperature)
-   [partGetMaxTemperature](#partgetmaxtemperature)
-   [partGetMaxSkinTemperature](#partgetmaxskintemperature)
-   [partGetThermalMass](#partgetthermalmass)
-   [partGetThermalSkinMass](#partgetthermalskinmass)
-   [partGetThermalResourceMass](#partgetthermalresourcemass)
-   [partGetThermalInternalFlux](#partgetthermalinternalflux)
-   [partGetThermalConductionFlux](#partgetthermalconductionflux)
-   [partGetThermalConvectionFlux](#partgetthermalconvectionflux)
-   [partGetThermalRadiationFlux](#partgetthermalradiationflux)
-   [partGetThermalSkinToInternalFlux](#partgetthermalskintointernalflux)
-   [partGetResources](#partgetresources)
-   [partGetCrossfeed](#partgetcrossfeed)
-   [partGetIsFuelLine](#partgetisfuelline)
-   [partGetFuelLinesFrom](#partgetfuellinesfrom)
-   [partGetFuelLinesTo](#partgetfuellinesto)
-   [partGetModules](#partgetmodules)
-   [partGetAntenna](#partgetantenna)
-   [partGetCargoBay](#partgetcargobay)
-   [partGetControlSurface](#partgetcontrolsurface)
-   [partGetDecoupler](#partgetdecoupler)
-   [partGetDockingPort](#partgetdockingport)
-   [partGetEngine](#partgetengine)
-   [partGetExperiment](#partgetexperiment)
-   [partGetFairing](#partgetfairing)
-   [partGetIntake](#partgetintake)
-   [partGetLeg](#partgetleg)
-   [partGetLaunchClamp](#partgetlaunchclamp)
-   [partGetLight](#partgetlight)
-   [partGetParachute](#partgetparachute)
-   [partGetRadiator](#partgetradiator)
-   [partGetRcs](#partgetrcs)
-   [partGetReactionWheel](#partgetreactionwheel)
-   [partGetResourceConverter](#partgetresourceconverter)
-   [partGetResourceHarvester](#partgetresourceharvester)
-   [partGetSensor](#partgetsensor)
-   [partGetSolarPanel](#partgetsolarpanel)
-   [partGetWheel](#partgetwheel)
-   [partGetMomentOfInertia](#partgetmomentofinertia)
-   [partGetInertiaTensor](#partgetinertiatensor)
-   [partGetReferenceFrame](#partgetreferenceframe)
-   [partGetCenterOfMassReferenceFrame](#partgetcenterofmassreferenceframe)
-   [partsWithName](#partswithname)
-   [partsWithTitle](#partswithtitle)
-   [partsWithTag](#partswithtag)
-   [partsWithModule](#partswithmodule)
-   [partsInStage](#partsinstage)
-   [partsInDecoupleStage](#partsindecouplestage)
-   [partsModulesWithName](#partsmoduleswithname)
-   [partsGetAll](#partsgetall)
-   [partsGetRoot](#partsgetroot)
-   [partsGetControlling](#partsgetcontrolling)
-   [partsSetControlling](#partssetcontrolling)
-   [partsGetAntennas](#partsgetantennas)
-   [partsGetControlSurfaces](#partsgetcontrolsurfaces)
-   [partsGetCargoBays](#partsgetcargobays)
-   [partsGetDecouplers](#partsgetdecouplers)
-   [partsGetDockingPorts](#partsgetdockingports)
-   [partsGetEngines](#partsgetengines)
-   [partsGetExperiments](#partsgetexperiments)
-   [partsGetFairings](#partsgetfairings)
-   [partsGetIntakes](#partsgetintakes)
-   [partsGetLegs](#partsgetlegs)
-   [partsGetLaunchClamps](#partsgetlaunchclamps)
-   [partsGetLights](#partsgetlights)
-   [partsGetParachutes](#partsgetparachutes)
-   [partsGetRadiators](#partsgetradiators)
-   [partsGetRcs](#partsgetrcs)
-   [partsGetReactionWheels](#partsgetreactionwheels)
-   [partsGetResourceConverters](#partsgetresourceconverters)
-   [partsGetResourceHarvesters](#partsgetresourceharvesters)
-   [partsGetSensors](#partsgetsensors)
-   [partsGetSolarPanels](#partsgetsolarpanels)
-   [partsGetWheels](#partsgetwheels)
-   [propellantGetName](#propellantgetname)
-   [propellantGetCurrentAmount](#propellantgetcurrentamount)
-   [propellantGetCurrentRequirement](#propellantgetcurrentrequirement)
-   [propellantGetTotalResourceAvailable](#propellantgettotalresourceavailable)
-   [propellantGetTotalResourceCapacity](#propellantgettotalresourcecapacity)
-   [propellantGetIgnoreForIsp](#propellantgetignoreforisp)
-   [propellantGetIgnoreForThrustCurve](#propellantgetignoreforthrustcurve)
-   [propellantGetDrawStackGauge](#propellantgetdrawstackgauge)
-   [propellantGetIsDeprived](#propellantgetisdeprived)
-   [propellantGetRatio](#propellantgetratio)
-   [rcsGetPart](#rcsgetpart)
-   [rcsGetActive](#rcsgetactive)
-   [rcsGetEnabled](#rcsgetenabled)
-   [rcsSetEnabled](#rcssetenabled)
-   [rcsGetPitchEnabled](#rcsgetpitchenabled)
-   [rcsSetPitchEnabled](#rcssetpitchenabled)
-   [rcsGetYawEnabled](#rcsgetyawenabled)
-   [rcsSetYawEnabled](#rcssetyawenabled)
-   [rcsGetRollEnabled](#rcsgetrollenabled)
-   [rcsSetRollEnabled](#rcssetrollenabled)
-   [rcsGetForwardEnabled](#rcsgetforwardenabled)
-   [rcsSetForwardEnabled](#rcssetforwardenabled)
-   [rcsGetUpEnabled](#rcsgetupenabled)
-   [rcsSetUpEnabled](#rcssetupenabled)
-   [rcsGetRightEnabled](#rcsgetrightenabled)
-   [rcsSetRightEnabled](#rcssetrightenabled)
-   [rcsGetAvailableTorque](#rcsgetavailabletorque)
-   [rcsGetMaxThrust](#rcsgetmaxthrust)
-   [rcsGetMaxVacuumThrust](#rcsgetmaxvacuumthrust)
-   [rcsGetThrusters](#rcsgetthrusters)
-   [rcsGetSpecificImpulse](#rcsgetspecificimpulse)
-   [rcsGetVacuumSpecificImpulse](#rcsgetvacuumspecificimpulse)
-   [rcsGetKerbinSeaLevelSpecificImpulse](#rcsgetkerbinsealevelspecificimpulse)
-   [rcsGetPropellants](#rcsgetpropellants)
-   [rcsGetPropellantRatios](#rcsgetpropellantratios)
-   [rcsGetHasFuel](#rcsgethasfuel)
-   [radiatorGetPart](#radiatorgetpart)
-   [radiatorGetDeployable](#radiatorgetdeployable)
-   [radiatorGetDeployed](#radiatorgetdeployed)
-   [radiatorSetDeployed](#radiatorsetdeployed)
-   [radiatorGetState](#radiatorgetstate)
-   [reactionWheelGetPart](#reactionwheelgetpart)
-   [reactionWheelGetActive](#reactionwheelgetactive)
-   [reactionWheelSetActive](#reactionwheelsetactive)
-   [reactionWheelGetBroken](#reactionwheelgetbroken)
-   [reactionWheelGetAvailableTorque](#reactionwheelgetavailabletorque)
-   [reactionWheelGetMaxTorque](#reactionwheelgetmaxtorque)
-   [resourceConverterActive](#resourceconverteractive)
-   [resourceConverterName](#resourceconvertername)
-   [resourceConverterStart](#resourceconverterstart)
-   [resourceConverterStop](#resourceconverterstop)
-   [resourceConverterState](#resourceconverterstate)
-   [resourceConverterStatusInfo](#resourceconverterstatusinfo)
-   [resourceConverterInputs](#resourceconverterinputs)
-   [resourceConverterOutputs](#resourceconverteroutputs)
-   [resourceConverterGetPart](#resourceconvertergetpart)
-   [resourceConverterGetCount](#resourceconvertergetcount)
-   [resourceConverterGetThermalEfficiency](#resourceconvertergetthermalefficiency)
-   [resourceConverterGetCoreTemperature](#resourceconvertergetcoretemperature)
-   [resourceConverterGetOptimumCoreTemperature](#resourceconvertergetoptimumcoretemperature)
-   [resourceHarvesterGetPart](#resourceharvestergetpart)
-   [resourceHarvesterGetState](#resourceharvestergetstate)
-   [resourceHarvesterGetDeployed](#resourceharvestergetdeployed)
-   [resourceHarvesterSetDeployed](#resourceharvestersetdeployed)
-   [resourceHarvesterGetActive](#resourceharvestergetactive)
-   [resourceHarvesterSetActive](#resourceharvestersetactive)
-   [resourceHarvesterGetExtractionRate](#resourceharvestergetextractionrate)
-   [resourceHarvesterGetThermalEfficiency](#resourceharvestergetthermalefficiency)
-   [resourceHarvesterGetCoreTemperature](#resourceharvestergetcoretemperature)
-   [resourceHarvesterGetOptimumCoreTemperature](#resourceharvestergetoptimumcoretemperature)
-   [scienceDataGetDataAmount](#sciencedatagetdataamount)
-   [scienceDataGetScienceValue](#sciencedatagetsciencevalue)
-   [scienceDataGetTransmitValue](#sciencedatagettransmitvalue)
-   [scienceSubjectGetScience](#sciencesubjectgetscience)
-   [scienceSubjectGetScienceCap](#sciencesubjectgetsciencecap)
-   [scienceSubjectGetIsComplete](#sciencesubjectgetiscomplete)
-   [scienceSubjectGetDataScale](#sciencesubjectgetdatascale)
-   [scienceSubjectGetScientificValue](#sciencesubjectgetscientificvalue)
-   [scienceSubjectGetSubjectValue](#sciencesubjectgetsubjectvalue)
-   [scienceSubjectGetTitle](#sciencesubjectgettitle)
-   [sensorGetPart](#sensorgetpart)
-   [sensorGetActive](#sensorgetactive)
-   [sensorSetActive](#sensorsetactive)
-   [sensorGetValue](#sensorgetvalue)
-   [solarPanelGetPart](#solarpanelgetpart)
-   [solarPanelGetDeployable](#solarpanelgetdeployable)
-   [solarPanelGetDeployed](#solarpanelgetdeployed)
-   [solarPanelSetDeployed](#solarpanelsetdeployed)
-   [solarPanelGetState](#solarpanelgetstate)
-   [solarPanelGetEnergyFlow](#solarpanelgetenergyflow)
-   [solarPanelGetSunExposure](#solarpanelgetsunexposure)
-   [thrusterThrustPosition](#thrusterthrustposition)
-   [thrusterThrustDirection](#thrusterthrustdirection)
-   [thrusterInitialThrustPosition](#thrusterinitialthrustposition)
-   [thrusterInitialThrustDirection](#thrusterinitialthrustdirection)
-   [thrusterGimbalPosition](#thrustergimbalposition)
-   [thrusterGetPart](#thrustergetpart)
-   [thrusterGetThrustReferenceFrame](#thrustergetthrustreferenceframe)
-   [thrusterGetGimballed](#thrustergetgimballed)
-   [thrusterGetGimbalAngle](#thrustergetgimbalangle)
-   [wheelGetPart](#wheelgetpart)
-   [wheelGetState](#wheelgetstate)
-   [wheelGetRadius](#wheelgetradius)
-   [wheelGetGrounded](#wheelgetgrounded)
-   [wheelGetHasBrakes](#wheelgethasbrakes)
-   [wheelGetBrakes](#wheelgetbrakes)
-   [wheelSetBrakes](#wheelsetbrakes)
-   [wheelGetAutoFrictionControl](#wheelgetautofrictioncontrol)
-   [wheelSetAutoFrictionControl](#wheelsetautofrictioncontrol)
-   [wheelGetManualFrictionControl](#wheelgetmanualfrictioncontrol)
-   [wheelSetManualFrictionControl](#wheelsetmanualfrictioncontrol)
-   [wheelGetDeployable](#wheelgetdeployable)
-   [wheelGetDeployed](#wheelgetdeployed)
-   [wheelSetDeployed](#wheelsetdeployed)
-   [wheelGetPowered](#wheelgetpowered)
-   [wheelGetMotorEnabled](#wheelgetmotorenabled)
-   [wheelSetMotorEnabled](#wheelsetmotorenabled)
-   [wheelGetMotorInverted](#wheelgetmotorinverted)
-   [wheelSetMotorInverted](#wheelsetmotorinverted)
-   [wheelGetMotorState](#wheelgetmotorstate)
-   [wheelGetMotorOutput](#wheelgetmotoroutput)
-   [wheelGetTractionControlEnabled](#wheelgettractioncontrolenabled)
-   [wheelSetTractionControlEnabled](#wheelsettractioncontrolenabled)
-   [wheelGetTractionControl](#wheelgettractioncontrol)
-   [wheelSetTractionControl](#wheelsettractioncontrol)
-   [wheelGetDriveLimiter](#wheelgetdrivelimiter)
-   [wheelSetDriveLimiter](#wheelsetdrivelimiter)
-   [wheelGetSteerable](#wheelgetsteerable)
-   [wheelGetSteeringEnabled](#wheelgetsteeringenabled)
-   [wheelSetSteeringEnabled](#wheelsetsteeringenabled)
-   [wheelGetSteeringInverted](#wheelgetsteeringinverted)
-   [wheelSetSteeringInverted](#wheelsetsteeringinverted)
-   [wheelGetHasSuspension](#wheelgethassuspension)
-   [wheelGetSuspensionSpringStrength](#wheelgetsuspensionspringstrength)
-   [wheelGetSuspensionDamperStrength](#wheelgetsuspensiondamperstrength)
-   [wheelGetBroken](#wheelgetbroken)
-   [wheelGetRepairable](#wheelgetrepairable)
-   [wheelGetStress](#wheelgetstress)
-   [wheelGetStressTolerance](#wheelgetstresstolerance)
-   [wheelGetStressPercentage](#wheelgetstresspercentage)
-   [wheelGetDeflection](#wheelgetdeflection)
-   [wheelGetSlip](#wheelgetslip)
-   [referenceFrameStaticCreateRelative](#referenceframestaticcreaterelative)
-   [referenceFrameStaticCreateHybrid](#referenceframestaticcreatehybrid)
-   [resourceGetName](#resourcegetname)
-   [resourceGetPart](#resourcegetpart)
-   [resourceGetMax](#resourcegetmax)
-   [resourceGetAmount](#resourcegetamount)
-   [resourceGetDensity](#resourcegetdensity)
-   [resourceGetFlowMode](#resourcegetflowmode)
-   [resourceGetEnabled](#resourcegetenabled)
-   [resourceSetEnabled](#resourcesetenabled)
-   [resourceTransferStaticStart](#resourcetransferstaticstart)
-   [resourceTransferGetComplete](#resourcetransfergetcomplete)
-   [resourceTransferGetAmount](#resourcetransfergetamount)
-   [resourcesWithResource](#resourceswithresource)
-   [resourcesHasResource](#resourceshasresource)
-   [resourcesMax](#resourcesmax)
-   [resourcesAmount](#resourcesamount)
-   [resourcesStaticDensity](#resourcesstaticdensity)
-   [resourcesStaticFlowMode](#resourcesstaticflowmode)
-   [resourcesGetAll](#resourcesgetall)
-   [resourcesGetNames](#resourcesgetnames)
-   [resourcesGetEnabled](#resourcesgetenabled)
-   [resourcesSetEnabled](#resourcessetenabled)
-   [vesselRecover](#vesselrecover)
-   [vesselFlight](#vesselflight)
-   [vesselResourcesInDecoupleStage](#vesselresourcesindecouplestage)
-   [vesselPosition](#vesselposition)
-   [vesselBoundingBox](#vesselboundingbox)
-   [vesselVelocity](#vesselvelocity)
-   [vesselRotation](#vesselrotation)
-   [vesselDirection](#vesseldirection)
-   [vesselAngularVelocity](#vesselangularvelocity)
-   [vesselGetName](#vesselgetname)
-   [vesselSetName](#vesselsetname)
-   [vesselGetType](#vesselgettype)
-   [vesselSetType](#vesselsettype)
-   [vesselGetSituation](#vesselgetsituation)
-   [vesselGetRecoverable](#vesselgetrecoverable)
-   [vesselGetMet](#vesselgetmet)
-   [vesselGetBiome](#vesselgetbiome)
-   [vesselGetOrbit](#vesselgetorbit)
-   [vesselGetControl](#vesselgetcontrol)
-   [vesselGetComms](#vesselgetcomms)
-   [vesselGetAutoPilot](#vesselgetautopilot)
-   [vesselGetCrewCapacity](#vesselgetcrewcapacity)
-   [vesselGetCrewCount](#vesselgetcrewcount)
-   [vesselGetCrew](#vesselgetcrew)
-   [vesselGetResources](#vesselgetresources)
-   [vesselGetParts](#vesselgetparts)
-   [vesselGetMass](#vesselgetmass)
-   [vesselGetDryMass](#vesselgetdrymass)
-   [vesselGetThrust](#vesselgetthrust)
-   [vesselGetAvailableThrust](#vesselgetavailablethrust)
-   [vesselGetMaxThrust](#vesselgetmaxthrust)
-   [vesselGetMaxVacuumThrust](#vesselgetmaxvacuumthrust)
-   [vesselGetSpecificImpulse](#vesselgetspecificimpulse)
-   [vesselGetVacuumSpecificImpulse](#vesselgetvacuumspecificimpulse)
-   [vesselGetKerbinSeaLevelSpecificImpulse](#vesselgetkerbinsealevelspecificimpulse)
-   [vesselGetMomentOfInertia](#vesselgetmomentofinertia)
-   [vesselGetInertiaTensor](#vesselgetinertiatensor)
-   [vesselGetAvailableTorque](#vesselgetavailabletorque)
-   [vesselGetAvailableReactionWheelTorque](#vesselgetavailablereactionwheeltorque)
-   [vesselGetAvailableRcsTorque](#vesselgetavailablercstorque)
-   [vesselGetAvailableEngineTorque](#vesselgetavailableenginetorque)
-   [vesselGetAvailableControlSurfaceTorque](#vesselgetavailablecontrolsurfacetorque)
-   [vesselGetAvailableOtherTorque](#vesselgetavailableothertorque)
-   [vesselGetReferenceFrame](#vesselgetreferenceframe)
-   [vesselGetOrbitalReferenceFrame](#vesselgetorbitalreferenceframe)
-   [vesselGetSurfaceReferenceFrame](#vesselgetsurfacereferenceframe)
-   [vesselGetSurfaceVelocityReferenceFrame](#vesselgetsurfacevelocityreferenceframe)
-   [waypointRemove](#waypointremove)
-   [waypointGetBody](#waypointgetbody)
-   [waypointSetBody](#waypointsetbody)
-   [waypointGetName](#waypointgetname)
-   [waypointSetName](#waypointsetname)
-   [waypointGetColor](#waypointgetcolor)
-   [waypointSetColor](#waypointsetcolor)
-   [waypointGetIcon](#waypointgeticon)
-   [waypointSetIcon](#waypointseticon)
-   [waypointGetLatitude](#waypointgetlatitude)
-   [waypointSetLatitude](#waypointsetlatitude)
-   [waypointGetLongitude](#waypointgetlongitude)
-   [waypointSetLongitude](#waypointsetlongitude)
-   [waypointGetMeanAltitude](#waypointgetmeanaltitude)
-   [waypointSetMeanAltitude](#waypointsetmeanaltitude)
-   [waypointGetSurfaceAltitude](#waypointgetsurfacealtitude)
-   [waypointSetSurfaceAltitude](#waypointsetsurfacealtitude)
-   [waypointGetBedrockAltitude](#waypointgetbedrockaltitude)
-   [waypointSetBedrockAltitude](#waypointsetbedrockaltitude)
-   [waypointGetNearSurface](#waypointgetnearsurface)
-   [waypointGetGrounded](#waypointgetgrounded)
-   [waypointGetIndex](#waypointgetindex)
-   [waypointGetClustered](#waypointgetclustered)
-   [waypointGetHasContract](#waypointgethascontract)
-   [waypointGetContract](#waypointgetcontract)
-   [waypointManagerAddWaypoint](#waypointmanageraddwaypoint)
-   [waypointManagerAddWaypointAtAltitude](#waypointmanageraddwaypointataltitude)
-   [waypointManagerGetWaypoints](#waypointmanagergetwaypoints)
-   [waypointManagerGetIcons](#waypointmanagergeticons)
-   [waypointManagerGetColors](#waypointmanagergetcolors)

## SpaceCenter

Provides functionality to interact with Kerbal Space Program. This includes controlling
the active vessel, managing its resources, planning maneuver nodes and auto-piloting.

Returns **void** 

## clearTarget

**Extends SpaceCenter**

Clears the current target.

Returns **void** 

## launchableVessels

**Extends SpaceCenter**

Returns a list of vessels from the given {craftDirectory}
that can be launched.

<param name="craftDirectory">Name of the directory in the current saves
"Ships" directory. For example "VAB" or "SPH".</param>

**Parameters**

-   `craftDirectory` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** Name of the directory in the current saves
    "Ships" directory. For example <c>"VAB"</c> or <c>"SPH"</c>.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## launchVessel

**Extends SpaceCenter**

Launch a vessel.

<param name="craftDirectory">Name of the directory in the current saves
"Ships" directory, that contains the craft file.
For example "VAB" or "SPH".</param>
<param name="name">Name of the vessel to launch. This is the name of the ".craft" file
in the save directory, without the ".craft" file extension.</param>
<param name="launchSite">Name of the launch site. For example "LaunchPad" or
"Runway".</param>

**Parameters**

-   `craftDirectory` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** Name of the directory in the current saves
    "Ships" directory, that contains the craft file.
    For example <c>"VAB"</c> or <c>"SPH"</c>.
-   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** Name of the vessel to launch. This is the name of the ".craft" file
    in the save directory, without the ".craft" file extension.
-   `launchSite` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** Name of the launch site. For example <c>"LaunchPad"</c> or
    <c>"Runway"</c>.

Returns **void** 

## launchVesselFromVab

**Extends SpaceCenter**

Launch a new vessel from the VAB onto the launchpad.

 This is equivalent to calling [M:SpaceCenter.LaunchVessel](M:SpaceCenter.LaunchVessel) with the craft directory
set to "VAB" and the launch site set to "LaunchPad".

**Parameters**

-   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** Name of the vessel to launch.

Returns **void** 

## launchVesselFromSph

**Extends SpaceCenter**

Launch a new vessel from the SPH onto the runway.

 This is equivalent to calling [M:SpaceCenter.LaunchVessel](M:SpaceCenter.LaunchVessel) with the craft directory
set to "SPH" and the launch site set to "Runway".

**Parameters**

-   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** Name of the vessel to launch.

Returns **void** 

## save

**Extends SpaceCenter**

Save the game with a given name.
This will create a save file called name.sfs in the folder of the
current save game.

**Parameters**

-   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 

Returns **void** 

## load

**Extends SpaceCenter**

Load the game with the given name.
This will create a load a save file called name.sfs from the folder of the
current save game.

**Parameters**

-   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 

Returns **void** 

## quicksave

**Extends SpaceCenter**

Save a quicksave.
 This is the same as calling [M:SpaceCenter.Save](M:SpaceCenter.Save) with the name "quicksave".

Returns **void** 

## quickload

**Extends SpaceCenter**

Load a quicksave.
 This is the same as calling [M:SpaceCenter.Load](M:SpaceCenter.Load) with the name "quicksave".

Returns **void** 

## canRailsWarpAt

**Extends SpaceCenter**

Returns true if regular "on-rails" time warp can be used, at the specified warp
{factor}. The maximum time warp rate is limited by various things,
including how close the active vessel is to a planet. See
<a href="https://wiki.kerbalspaceprogram.com/wiki/Time_warp">the KSP wiki</a>
for details.

**Parameters**

-   `factor` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** The warp factor to check.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## warpTo

**Extends SpaceCenter**

Uses time acceleration to warp forward to a time in the future, specified
by universal time {ut}. This call blocks until the desired
time is reached. Uses regular "on-rails" or physical time warp as appropriate.
For example, physical time warp is used when the active vessel is traveling
through an atmosphere. When using regular "on-rails" time warp, the warp
rate is limited by {maxRailsRate}, and when using physical
time warp, the warp rate is limited by {maxPhysicsRate}.

<param name="maxRailsRate">The maximum warp rate in regular "on-rails" time warp.
</param>

Returns: When the time warp is complete.

**Parameters**

-   `ut` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** The universal time to warp to, in seconds.
-   `maxRailsRate` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** The maximum warp rate in regular "on-rails" time warp.
-   `maxPhysicsRate` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** The maximum warp rate in physical time warp.

Returns **void** 

## transformPosition

**Extends SpaceCenter**

Converts a position from one reference frame to another.

<param name="position">Position, as a vector, in reference frame
{from}.</param>

Returns: The corresponding position, as a vector, in reference frame
{to}.

**Parameters**

-   `position` **{number, number, number}** Position, as a vector, in reference frame
    <paramref name="from" />.
-   `from` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame
-   `to` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## transformDirection

**Extends SpaceCenter**

Converts a direction from one reference frame to another.

<param name="direction">Direction, as a vector, in reference frame
{from}. </param>

Returns: The corresponding direction, as a vector, in reference frame
{to}.

**Parameters**

-   `direction` **{number, number, number}** Direction, as a vector, in reference frame
    <paramref name="from" />.
-   `from` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame
-   `to` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## transformRotation

**Extends SpaceCenter**

Converts a rotation from one reference frame to another.

<param name="rotation">Rotation, as a quaternion of the form <math>(x, y, z, w)</math>,
in reference frame {from}.</param>

Returns: The corresponding rotation, as a quaternion of the form
<math>(x, y, z, w)</math>, in reference frame {to}.

**Parameters**

-   `rotation` **{number, number, number, number}** Rotation, as a quaternion of the form <math>(x, y, z, w)</math>,
    in reference frame <paramref name="from" />.
-   `from` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame
-   `to` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## transformVelocity

**Extends SpaceCenter**

Converts a velocity (acting at the specified position) from one reference frame
to another. The position is required to take the relative angular velocity of the
reference frames into account.

<param name="position">Position, as a vector, in reference frame
{from}.</param>
<param name="velocity">Velocity, as a vector that points in the direction of travel and
whose magnitude is the speed in meters per second, in reference frame
{from}.</param>

Returns: The corresponding velocity, as a vector, in reference frame
{to}.

**Parameters**

-   `position` **{number, number, number}** Position, as a vector, in reference frame
    <paramref name="from" />.
-   `velocity` **{number, number, number}** Velocity, as a vector that points in the direction of travel and
    whose magnitude is the speed in meters per second, in reference frame
    <paramref name="from" />.
-   `from` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame
-   `to` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## raycastDistance

**Extends SpaceCenter**

Cast a ray from a given position in a given direction, and return the distance to the hit point.
If no hit occurs, returns infinity.

Returns: The distance to the hit, in meters, or infinity if there was no hit.

**Parameters**

-   `position` **{number, number, number}** Position, as a vector, of the origin of the ray.
-   `direction` **{number, number, number}** Direction of the ray, as a unit vector.
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## raycastPart

**Extends SpaceCenter**

Cast a ray from a given position in a given direction, and return the part that it hits.
If no hit occurs, returns null.

Returns: The part that was hit or null if there was no hit.

**Parameters**

-   `position` **{number, number, number}** Position, as a vector, of the origin of the ray.
-   `direction` **{number, number, number}** Direction of the ray, as a unit vector.
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## getActiveVessel

**Extends SpaceCenter**

The currently active vessel.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## setActiveVessel

**Extends SpaceCenter**

The currently active vessel.

**Parameters**

-   `value` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **void** 

## getVessels

**Extends SpaceCenter**

A list of all the vessels in the game.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## getBodies

**Extends SpaceCenter**

A dictionary of all celestial bodies (planets, moons, etc.) in the game,
keyed by the name of the body.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## getTargetBody

**Extends SpaceCenter**

The currently targeted celestial body.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## setTargetBody

**Extends SpaceCenter**

The currently targeted celestial body.

**Parameters**

-   `value` **Long** A long value representing the id for the SpaceCenter.CelestialBody

Returns **void** 

## getTargetVessel

**Extends SpaceCenter**

The currently targeted vessel.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## setTargetVessel

**Extends SpaceCenter**

The currently targeted vessel.

**Parameters**

-   `value` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **void** 

## getTargetDockingPort

**Extends SpaceCenter**

The currently targeted docking port.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## setTargetDockingPort

**Extends SpaceCenter**

The currently targeted docking port.

**Parameters**

-   `value` **Long** A long value representing the id for the SpaceCenter.DockingPort

Returns **void** 

## getWaypointManager

**Extends SpaceCenter**

The waypoint manager.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## getContractManager

**Extends SpaceCenter**

The contract manager.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## getCamera

**Extends SpaceCenter**

An object that can be used to control the camera.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## getUiVisible

**Extends SpaceCenter**

Whether the UI is visible.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## setUiVisible

**Extends SpaceCenter**

Whether the UI is visible.

**Parameters**

-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## getNavball

**Extends SpaceCenter**

Whether the navball is visible.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## setNavball

**Extends SpaceCenter**

Whether the navball is visible.

**Parameters**

-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## getUt

**Extends SpaceCenter**

The current universal time in seconds.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## getG

**Extends SpaceCenter**

The value of the <a href="https://en.wikipedia.org/wiki/Gravitational_constant">
gravitational constant</a> G in <math>N(m/kg)^2</math>.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## getWarpMode

**Extends SpaceCenter**

The current time warp mode. Returns [M:SpaceCenter.WarpMode.None](M:SpaceCenter.WarpMode.None) if time
warp is not active, [M:SpaceCenter.WarpMode.Rails](M:SpaceCenter.WarpMode.Rails) if regular "on-rails" time warp
is active, or [M:SpaceCenter.WarpMode.Physics](M:SpaceCenter.WarpMode.Physics) if physical time warp is active.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## getWarpRate

**Extends SpaceCenter**

The current warp rate. This is the rate at which time is passing for
either on-rails or physical time warp. For example, a value of 10 means
time is passing 10x faster than normal. Returns 1 if time warp is not
active.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## getWarpFactor

**Extends SpaceCenter**

The current warp factor. This is the index of the rate at which time
is passing for either regular "on-rails" or physical time warp. Returns 0
if time warp is not active. When in on-rails time warp, this is equal to
[M:SpaceCenter.RailsWarpFactor](M:SpaceCenter.RailsWarpFactor), and in physics time warp, this is equal to
[M:SpaceCenter.PhysicsWarpFactor](M:SpaceCenter.PhysicsWarpFactor).

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## getRailsWarpFactor

**Extends SpaceCenter**

The time warp rate, using regular "on-rails" time warp. A value between
0 and 7 inclusive. 0 means no time warp. Returns 0 if physical time warp
is active.

If requested time warp factor cannot be set, it will be set to the next
lowest possible value. For example, if the vessel is too close to a
planet. See <a href="https://wiki.kerbalspaceprogram.com/wiki/Time_warp">
the KSP wiki</a> for details.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## setRailsWarpFactor

**Extends SpaceCenter**

The time warp rate, using regular "on-rails" time warp. A value between
0 and 7 inclusive. 0 means no time warp. Returns 0 if physical time warp
is active.

If requested time warp factor cannot be set, it will be set to the next
lowest possible value. For example, if the vessel is too close to a
planet. See <a href="https://wiki.kerbalspaceprogram.com/wiki/Time_warp">
the KSP wiki</a> for details.

**Parameters**

-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## getPhysicsWarpFactor

**Extends SpaceCenter**

The physical time warp rate. A value between 0 and 3 inclusive. 0 means
no time warp. Returns 0 if regular "on-rails" time warp is active.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## setPhysicsWarpFactor

**Extends SpaceCenter**

The physical time warp rate. A value between 0 and 3 inclusive. 0 means
no time warp. Returns 0 if regular "on-rails" time warp is active.

**Parameters**

-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## getMaximumRailsWarpFactor

**Extends SpaceCenter**

The current maximum regular "on-rails" warp factor that can be set.
A value between 0 and 7 inclusive. See
<a href="https://wiki.kerbalspaceprogram.com/wiki/Time_warp">the KSP wiki</a>
for details.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## getFarAvailable

**Extends SpaceCenter**

Whether <a href="https://forum.kerbalspaceprogram.com/index.php?/topic/19321-130-ferram-aerospace-research-v0159-liebe-82117/">Ferram Aerospace Research</a> is installed.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## autoPilotEngage

**Extends SpaceCenter**

Engage the auto-pilot.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot

Returns **void** 

## autoPilotDisengage

**Extends SpaceCenter**

Disengage the auto-pilot.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot

Returns **void** 

## autoPilotWait

**Extends SpaceCenter**

Blocks until the vessel is pointing in the target direction and has
the target roll (if set). Throws an exception if the auto-pilot has not been engaged.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot

Returns **void** 

## autoPilotTargetPitchAndHeading

**Extends SpaceCenter**

Set target pitch and heading angles.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot
-   `pitch` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Target pitch angle, in degrees between -90° and +90°.
-   `heading` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Target heading angle, in degrees between 0° and 360°.

Returns **void** 

## autoPilotGetError

**Extends SpaceCenter**

The error, in degrees, between the direction the ship has been asked
to point in and the direction it is pointing in. Throws an exception if the auto-pilot
has not been engaged and SAS is not enabled or is in stability assist mode.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## autoPilotGetPitchError

**Extends SpaceCenter**

The error, in degrees, between the vessels current and target pitch.
Throws an exception if the auto-pilot has not been engaged.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## autoPilotGetHeadingError

**Extends SpaceCenter**

The error, in degrees, between the vessels current and target heading.
Throws an exception if the auto-pilot has not been engaged.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## autoPilotGetRollError

**Extends SpaceCenter**

The error, in degrees, between the vessels current and target roll.
Throws an exception if the auto-pilot has not been engaged or no target roll is set.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## autoPilotGetReferenceFrame

**Extends SpaceCenter**

The reference frame for the target direction ([M:SpaceCenter.AutoPilot.TargetDirection](M:SpaceCenter.AutoPilot.TargetDirection)).
 An error will be thrown if this property is set to a reference frame that rotates with
the vessel being controlled, as it is impossible to rotate the vessel in such a
reference frame.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## autoPilotSetReferenceFrame

**Extends SpaceCenter**

The reference frame for the target direction ([M:SpaceCenter.AutoPilot.TargetDirection](M:SpaceCenter.AutoPilot.TargetDirection)).
 An error will be thrown if this property is set to a reference frame that rotates with
the vessel being controlled, as it is impossible to rotate the vessel in such a
reference frame.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot
-   `value` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **void** 

## autoPilotGetTargetPitch

**Extends SpaceCenter**

The target pitch, in degrees, between -90° and +90°.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## autoPilotSetTargetPitch

**Extends SpaceCenter**

The target pitch, in degrees, between -90° and +90°.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## autoPilotGetTargetHeading

**Extends SpaceCenter**

The target heading, in degrees, between 0° and 360°.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## autoPilotSetTargetHeading

**Extends SpaceCenter**

The target heading, in degrees, between 0° and 360°.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## autoPilotGetTargetRoll

**Extends SpaceCenter**

The target roll, in degrees. NaN if no target roll is set.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## autoPilotSetTargetRoll

**Extends SpaceCenter**

The target roll, in degrees. NaN if no target roll is set.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## autoPilotGetTargetDirection

**Extends SpaceCenter**

Direction vector corresponding to the target pitch and heading.
This is in the reference frame specified by [T:SpaceCenter.ReferenceFrame](T:SpaceCenter.ReferenceFrame).

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## autoPilotSetTargetDirection

**Extends SpaceCenter**

Direction vector corresponding to the target pitch and heading.
This is in the reference frame specified by [T:SpaceCenter.ReferenceFrame](T:SpaceCenter.ReferenceFrame).

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot
-   `value` **{number, number, number}** 

Returns **void** 

## autoPilotGetSas

**Extends SpaceCenter**

The state of SAS.
<remarks>Equivalent to [M:SpaceCenter.Control.SAS](M:SpaceCenter.Control.SAS)

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## autoPilotSetSas

**Extends SpaceCenter**

The state of SAS.
<remarks>Equivalent to [M:SpaceCenter.Control.SAS](M:SpaceCenter.Control.SAS)

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## autoPilotGetSasMode

**Extends SpaceCenter**

The current [T:SpaceCenter.SASMode](T:SpaceCenter.SASMode).
These modes are equivalent to the mode buttons to the left of the navball that appear
when SAS is enabled.
<remarks>Equivalent to [M:SpaceCenter.Control.SASMode](M:SpaceCenter.Control.SASMode)

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## autoPilotSetSasMode

**Extends SpaceCenter**

The current [T:SpaceCenter.SASMode](T:SpaceCenter.SASMode).
These modes are equivalent to the mode buttons to the left of the navball that appear
when SAS is enabled.
<remarks>Equivalent to [M:SpaceCenter.Control.SASMode](M:SpaceCenter.Control.SASMode)

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot
-   `value` **Long** A long value representing the id for the SpaceCenter.SASMode

Returns **void** 

## autoPilotGetRollThreshold

**Extends SpaceCenter**

The threshold at which the autopilot will try to match the target roll angle, if any.
Defaults to 5 degrees.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## autoPilotSetRollThreshold

**Extends SpaceCenter**

The threshold at which the autopilot will try to match the target roll angle, if any.
Defaults to 5 degrees.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## autoPilotGetStoppingTime

**Extends SpaceCenter**

The maximum amount of time that the vessel should need to come to a complete stop.
This determines the maximum angular velocity of the vessel.
A vector of three stopping times, in seconds, one for each of the pitch, roll
and yaw axes. Defaults to 0.5 seconds for each axis.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## autoPilotSetStoppingTime

**Extends SpaceCenter**

The maximum amount of time that the vessel should need to come to a complete stop.
This determines the maximum angular velocity of the vessel.
A vector of three stopping times, in seconds, one for each of the pitch, roll
and yaw axes. Defaults to 0.5 seconds for each axis.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot
-   `value` **{number, number, number}** 

Returns **void** 

## autoPilotGetDecelerationTime

**Extends SpaceCenter**

The time the vessel should take to come to a stop pointing in the target direction.
This determines the angular acceleration used to decelerate the vessel.
A vector of three times, in seconds, one for each of the pitch, roll and yaw axes.
Defaults to 5 seconds for each axis.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## autoPilotSetDecelerationTime

**Extends SpaceCenter**

The time the vessel should take to come to a stop pointing in the target direction.
This determines the angular acceleration used to decelerate the vessel.
A vector of three times, in seconds, one for each of the pitch, roll and yaw axes.
Defaults to 5 seconds for each axis.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot
-   `value` **{number, number, number}** 

Returns **void** 

## autoPilotGetAttenuationAngle

**Extends SpaceCenter**

The angle at which the autopilot considers the vessel to be pointing
close to the target.
This determines the midpoint of the target velocity attenuation function.
A vector of three angles, in degrees, one for each of the pitch, roll and yaw axes.
Defaults to 1° for each axis.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## autoPilotSetAttenuationAngle

**Extends SpaceCenter**

The angle at which the autopilot considers the vessel to be pointing
close to the target.
This determines the midpoint of the target velocity attenuation function.
A vector of three angles, in degrees, one for each of the pitch, roll and yaw axes.
Defaults to 1° for each axis.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot
-   `value` **{number, number, number}** 

Returns **void** 

## autoPilotGetAutoTune

**Extends SpaceCenter**

Whether the rotation rate controllers PID parameters should be automatically tuned
using the vessels moment of inertia and available torque. Defaults to true.
See [M:SpaceCenter.AutoPilot.TimeToPeak](M:SpaceCenter.AutoPilot.TimeToPeak) and [M:SpaceCenter.AutoPilot.Overshoot](M:SpaceCenter.AutoPilot.Overshoot).

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## autoPilotSetAutoTune

**Extends SpaceCenter**

Whether the rotation rate controllers PID parameters should be automatically tuned
using the vessels moment of inertia and available torque. Defaults to true.
See [M:SpaceCenter.AutoPilot.TimeToPeak](M:SpaceCenter.AutoPilot.TimeToPeak) and [M:SpaceCenter.AutoPilot.Overshoot](M:SpaceCenter.AutoPilot.Overshoot).

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## autoPilotGetTimeToPeak

**Extends SpaceCenter**

The target time to peak used to autotune the PID controllers.
A vector of three times, in seconds, for each of the pitch, roll and yaw axes.
Defaults to 3 seconds for each axis.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## autoPilotSetTimeToPeak

**Extends SpaceCenter**

The target time to peak used to autotune the PID controllers.
A vector of three times, in seconds, for each of the pitch, roll and yaw axes.
Defaults to 3 seconds for each axis.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot
-   `value` **{number, number, number}** 

Returns **void** 

## autoPilotGetOvershoot

**Extends SpaceCenter**

The target overshoot percentage used to autotune the PID controllers.
A vector of three values, between 0 and 1, for each of the pitch, roll and yaw axes.
Defaults to 0.01 for each axis.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## autoPilotSetOvershoot

**Extends SpaceCenter**

The target overshoot percentage used to autotune the PID controllers.
A vector of three values, between 0 and 1, for each of the pitch, roll and yaw axes.
Defaults to 0.01 for each axis.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot
-   `value` **{number, number, number}** 

Returns **void** 

## autoPilotGetPitchPidGains

**Extends SpaceCenter**

Gains for the pitch PID controller.
 When [M:SpaceCenter.AutoPilot.AutoTune](M:SpaceCenter.AutoPilot.AutoTune) is true, these values are updated automatically,
which will overwrite any manual changes.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## autoPilotSetPitchPidGains

**Extends SpaceCenter**

Gains for the pitch PID controller.
 When [M:SpaceCenter.AutoPilot.AutoTune](M:SpaceCenter.AutoPilot.AutoTune) is true, these values are updated automatically,
which will overwrite any manual changes.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot
-   `value` **{number, number, number}** 

Returns **void** 

## autoPilotGetRollPidGains

**Extends SpaceCenter**

Gains for the roll PID controller.
 When [M:SpaceCenter.AutoPilot.AutoTune](M:SpaceCenter.AutoPilot.AutoTune) is true, these values are updated automatically,
which will overwrite any manual changes.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## autoPilotSetRollPidGains

**Extends SpaceCenter**

Gains for the roll PID controller.
 When [M:SpaceCenter.AutoPilot.AutoTune](M:SpaceCenter.AutoPilot.AutoTune) is true, these values are updated automatically,
which will overwrite any manual changes.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot
-   `value` **{number, number, number}** 

Returns **void** 

## autoPilotGetYawPidGains

**Extends SpaceCenter**

Gains for the yaw PID controller.
 When [M:SpaceCenter.AutoPilot.AutoTune](M:SpaceCenter.AutoPilot.AutoTune) is true, these values are updated automatically,
which will overwrite any manual changes.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## autoPilotSetYawPidGains

**Extends SpaceCenter**

Gains for the yaw PID controller.
 When [M:SpaceCenter.AutoPilot.AutoTune](M:SpaceCenter.AutoPilot.AutoTune) is true, these values are updated automatically,
which will overwrite any manual changes.

**Parameters**

-   `autoPilot` **Long** A long value representing the id for the SpaceCenter.AutoPilot
-   `value` **{number, number, number}** 

Returns **void** 

## cameraGetMode

**Extends SpaceCenter**

The current mode of the camera.

**Parameters**

-   `camera` **Long** A long value representing the id for the SpaceCenter.Camera

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## cameraSetMode

**Extends SpaceCenter**

The current mode of the camera.

**Parameters**

-   `camera` **Long** A long value representing the id for the SpaceCenter.Camera
-   `value` **Long** A long value representing the id for the SpaceCenter.CameraMode

Returns **void** 

## cameraGetPitch

**Extends SpaceCenter**

The pitch of the camera, in degrees.
A value between [M:SpaceCenter.Camera.MinPitch](M:SpaceCenter.Camera.MinPitch) and [M:SpaceCenter.Camera.MaxPitch](M:SpaceCenter.Camera.MaxPitch)

**Parameters**

-   `camera` **Long** A long value representing the id for the SpaceCenter.Camera

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## cameraSetPitch

**Extends SpaceCenter**

The pitch of the camera, in degrees.
A value between [M:SpaceCenter.Camera.MinPitch](M:SpaceCenter.Camera.MinPitch) and [M:SpaceCenter.Camera.MaxPitch](M:SpaceCenter.Camera.MaxPitch)

**Parameters**

-   `camera` **Long** A long value representing the id for the SpaceCenter.Camera
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## cameraGetHeading

**Extends SpaceCenter**

The heading of the camera, in degrees.

**Parameters**

-   `camera` **Long** A long value representing the id for the SpaceCenter.Camera

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## cameraSetHeading

**Extends SpaceCenter**

The heading of the camera, in degrees.

**Parameters**

-   `camera` **Long** A long value representing the id for the SpaceCenter.Camera
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## cameraGetDistance

**Extends SpaceCenter**

The distance from the camera to the subject, in meters.
A value between [M:SpaceCenter.Camera.MinDistance](M:SpaceCenter.Camera.MinDistance) and [M:SpaceCenter.Camera.MaxDistance](M:SpaceCenter.Camera.MaxDistance).

**Parameters**

-   `camera` **Long** A long value representing the id for the SpaceCenter.Camera

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## cameraSetDistance

**Extends SpaceCenter**

The distance from the camera to the subject, in meters.
A value between [M:SpaceCenter.Camera.MinDistance](M:SpaceCenter.Camera.MinDistance) and [M:SpaceCenter.Camera.MaxDistance](M:SpaceCenter.Camera.MaxDistance).

**Parameters**

-   `camera` **Long** A long value representing the id for the SpaceCenter.Camera
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## cameraGetMinPitch

**Extends SpaceCenter**

The minimum pitch of the camera.

**Parameters**

-   `camera` **Long** A long value representing the id for the SpaceCenter.Camera

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## cameraGetMaxPitch

**Extends SpaceCenter**

The maximum pitch of the camera.

**Parameters**

-   `camera` **Long** A long value representing the id for the SpaceCenter.Camera

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## cameraGetMinDistance

**Extends SpaceCenter**

Minimum distance from the camera to the subject, in meters.

**Parameters**

-   `camera` **Long** A long value representing the id for the SpaceCenter.Camera

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## cameraGetMaxDistance

**Extends SpaceCenter**

Maximum distance from the camera to the subject, in meters.

**Parameters**

-   `camera` **Long** A long value representing the id for the SpaceCenter.Camera

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## cameraGetDefaultDistance

**Extends SpaceCenter**

Default distance from the camera to the subject, in meters.

**Parameters**

-   `camera` **Long** A long value representing the id for the SpaceCenter.Camera

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## cameraGetFocussedBody

**Extends SpaceCenter**

In map mode, the celestial body that the camera is focussed on.
Returns null if the camera is not focussed on a celestial body.
Returns an error is the camera is not in map mode.

**Parameters**

-   `camera` **Long** A long value representing the id for the SpaceCenter.Camera

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## cameraSetFocussedBody

**Extends SpaceCenter**

In map mode, the celestial body that the camera is focussed on.
Returns null if the camera is not focussed on a celestial body.
Returns an error is the camera is not in map mode.

**Parameters**

-   `camera` **Long** A long value representing the id for the SpaceCenter.Camera
-   `value` **Long** A long value representing the id for the SpaceCenter.CelestialBody

Returns **void** 

## cameraGetFocussedVessel

**Extends SpaceCenter**

In map mode, the vessel that the camera is focussed on.
Returns null if the camera is not focussed on a vessel.
Returns an error is the camera is not in map mode.

**Parameters**

-   `camera` **Long** A long value representing the id for the SpaceCenter.Camera

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## cameraSetFocussedVessel

**Extends SpaceCenter**

In map mode, the vessel that the camera is focussed on.
Returns null if the camera is not focussed on a vessel.
Returns an error is the camera is not in map mode.

**Parameters**

-   `camera` **Long** A long value representing the id for the SpaceCenter.Camera
-   `value` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **void** 

## cameraGetFocussedNode

**Extends SpaceCenter**

In map mode, the maneuver node that the camera is focussed on.
Returns null if the camera is not focussed on a maneuver node.
Returns an error is the camera is not in map mode.

**Parameters**

-   `camera` **Long** A long value representing the id for the SpaceCenter.Camera

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## cameraSetFocussedNode

**Extends SpaceCenter**

In map mode, the maneuver node that the camera is focussed on.
Returns null if the camera is not focussed on a maneuver node.
Returns an error is the camera is not in map mode.

**Parameters**

-   `camera` **Long** A long value representing the id for the SpaceCenter.Camera
-   `value` **Long** A long value representing the id for the SpaceCenter.Node

Returns **void** 

## celestialBodySurfaceHeight

**Extends SpaceCenter**

The height of the surface relative to mean sea level, in meters,
at the given position. When over water this is equal to 0.

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody
-   `latitude` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Latitude in degrees.
-   `longitude` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Longitude in degrees.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyBedrockHeight

**Extends SpaceCenter**

The height of the surface relative to mean sea level, in meters,
at the given position. When over water, this is the height
of the sea-bed and is therefore  negative value.

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody
-   `latitude` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Latitude in degrees.
-   `longitude` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Longitude in degrees.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyMslPosition

**Extends SpaceCenter**

The position at mean sea level at the given latitude and longitude,
in the given reference frame.
Returns: Position as a vector.

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody
-   `latitude` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Latitude in degrees.
-   `longitude` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Longitude in degrees.
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodySurfacePosition

**Extends SpaceCenter**

The position of the surface at the given latitude and longitude, in the given
reference frame. When over water, this is the position of the surface of the water.
Returns: Position as a vector.

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody
-   `latitude` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Latitude in degrees.
-   `longitude` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Longitude in degrees.
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyBedrockPosition

**Extends SpaceCenter**

The position of the surface at the given latitude and longitude, in the given
reference frame. When over water, this is the position at the bottom of the sea-bed.
Returns: Position as a vector.

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody
-   `latitude` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Latitude in degrees.
-   `longitude` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Longitude in degrees.
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyPositionAtAltitude

**Extends SpaceCenter**

The position at the given latitude, longitude and altitude, in the given reference frame.
Returns: Position as a vector.

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody
-   `latitude` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Latitude in degrees.
-   `longitude` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Longitude in degrees.
-   `altitude` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Altitude in meters above sea level.
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyLatitudeAtPosition

**Extends SpaceCenter**

The latitude of the given position, in the given reference frame.

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody
-   `position` **{number, number, number}** Position as a vector.
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyLongitudeAtPosition

**Extends SpaceCenter**

The longitude of the given position, in the given reference frame.

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody
-   `position` **{number, number, number}** Position as a vector.
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyAltitudeAtPosition

**Extends SpaceCenter**

The altitude, in meters, of the given position in the given reference frame.

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody
-   `position` **{number, number, number}** Position as a vector.
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyAtmosphericDensityAtPosition

**Extends SpaceCenter**

The atmospheric density at the given position, in <math>kg/m^3</math>,
in the given reference frame.

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody
-   `position` **{number, number, number}** The position vector at which to measure the density.
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyTemperatureAt

**Extends SpaceCenter**

The temperature on the body at the given position, in the given reference frame.

 This calculation is performed using the bodies current position, which means that
the value could be wrong if you want to know the temperature in the far future.

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody
-   `position` **{number, number, number}** Position as a vector.
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyDensityAt

**Extends SpaceCenter**

Gets the air density, in <math>kg/m^3</math>, for the specified
altitude above sea level, in meters.
 This is an approximation, because actual calculations, taking sun exposure into account
to compute air temperature, require us to know the exact point on the body where the
density is to be computed (knowing the altitude is not enough).
However, the difference is small for high altitudes, so it makes very little difference
for trajectory prediction.

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody
-   `altitude` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyPressureAt

**Extends SpaceCenter**

Gets the air pressure, in Pascals, for the specified
altitude above sea level, in meters.

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody
-   `altitude` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyBiomeAt

**Extends SpaceCenter**

The biome at the given latitude and longitude, in degrees.

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody
-   `latitude` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 
-   `longitude` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyPosition

**Extends SpaceCenter**

The position of the center of the body, in the specified reference frame.
Returns: The position as a vector.

<param name="referenceFrame">The reference frame that the returned
position vector is in.</param>

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyVelocity

**Extends SpaceCenter**

The linear velocity of the body, in the specified reference frame.
Returns: The velocity as a vector. The vector points in the direction of travel,
and its magnitude is the speed of the body in meters per second.

<param name="referenceFrame">The reference frame that the returned
velocity vector is in.</param>

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyRotation

**Extends SpaceCenter**

The rotation of the body, in the specified reference frame.
Returns: The rotation as a quaternion of the form <math>(x, y, z, w)</math>.

<param name="referenceFrame">The reference frame that the returned
rotation is in.</param>

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyDirection

**Extends SpaceCenter**

The direction in which the north pole of the celestial body is pointing,
in the specified reference frame.
Returns: The direction as a unit vector.

<param name="referenceFrame">The reference frame that the returned
direction is in.</param>

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyAngularVelocity

**Extends SpaceCenter**

The angular velocity of the body in the specified reference frame.
Returns: The angular velocity as a vector. The magnitude of the vector is the rotational
speed of the body, in radians per second. The direction of the vector indicates the axis
of rotation, using the right-hand rule.

<param name="referenceFrame">The reference frame the returned
angular velocity is in.</param>

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyGetName

**Extends SpaceCenter**

The name of the body.

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyGetSatellites

**Extends SpaceCenter**

A list of celestial bodies that are in orbit around this celestial body.

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyGetMass

**Extends SpaceCenter**

The mass of the body, in kilograms.

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyGetGravitationalParameter

**Extends SpaceCenter**

The <a href="https://en.wikipedia.org/wiki/Standard_gravitational_parameter">standard
gravitational parameter</a> of the body in <math>m^3s^{-2}</math>.

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyGetSurfaceGravity

**Extends SpaceCenter**

The acceleration due to gravity at sea level (mean altitude) on the body,
in <math>m/s^2</math>.

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyGetRotationalPeriod

**Extends SpaceCenter**

The sidereal rotational period of the body, in seconds.

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyGetRotationalSpeed

**Extends SpaceCenter**

The rotational speed of the body, in radians per second.

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyGetRotationAngle

**Extends SpaceCenter**

The current rotation angle of the body, in radians.
A value between 0 and <math>2\\pi</math>

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyGetInitialRotation

**Extends SpaceCenter**

The initial rotation angle of the body (at UT 0), in radians.
A value between 0 and <math>2\\pi</math>

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyGetEquatorialRadius

**Extends SpaceCenter**

The equatorial radius of the body, in meters.

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyGetSphereOfInfluence

**Extends SpaceCenter**

The radius of the sphere of influence of the body, in meters.

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyGetOrbit

**Extends SpaceCenter**

The orbit of the body.

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyGetHasAtmosphere

**Extends SpaceCenter**

<summary>true if the body has an atmosphere.

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyGetAtmosphereDepth

**Extends SpaceCenter**

The depth of the atmosphere, in meters.

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyGetHasAtmosphericOxygen

**Extends SpaceCenter**

<summary>true if there is oxygen in the atmosphere, required for air-breathing engines.

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyGetBiomes

**Extends SpaceCenter**

The biomes present on this body.

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyGetFlyingHighAltitudeThreshold

**Extends SpaceCenter**

The altitude, in meters, above which a vessel is considered to be
flying "high" when doing science.

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyGetSpaceHighAltitudeThreshold

**Extends SpaceCenter**

The altitude, in meters, above which a vessel is considered to be
in "high" space when doing science.

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyGetReferenceFrame

**Extends SpaceCenter**

The reference frame that is fixed relative to the celestial body.
<list type="bullet"><item><description>The origin is at the center of the body.
</description></item><item><description>The axes rotate with the body.</description></item><item><description>The x-axis points from the center of the body
towards the intersection of the prime meridian and equator (the
position at 0° longitude, 0° latitude).</description></item><item><description>The y-axis points from the center of the body
towards the north pole.</description></item><item><description>The z-axis points from the center of the body
towards the equator at 90°E longitude.</description></item></list>

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyGetNonRotatingReferenceFrame

**Extends SpaceCenter**

The reference frame that is fixed relative to this celestial body, and
orientated in a fixed direction (it does not rotate with the body).
<list type="bullet"><item><description>The origin is at the center of the body.</description></item><item><description>The axes do not rotate.</description></item><item><description>The x-axis points in an arbitrary direction through the
equator.</description></item><item><description>The y-axis points from the center of the body towards
the north pole.</description></item><item><description>The z-axis points in an arbitrary direction through the
equator.</description></item></list>

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## celestialBodyGetOrbitalReferenceFrame

**Extends SpaceCenter**

The reference frame that is fixed relative to this celestial body, but
orientated with the body's orbital prograde/normal/radial directions.
<list type="bullet"><item><description>The origin is at the center of the body.
</description></item><item><description>The axes rotate with the orbital prograde/normal/radial
directions.</description></item><item><description>The x-axis points in the orbital anti-radial direction.
</description></item><item><description>The y-axis points in the orbital prograde direction.
</description></item><item><description>The z-axis points in the orbital normal direction.
</description></item></list>

**Parameters**

-   `celestialBody` **Long** A long value representing the id for the SpaceCenter.CelestialBody

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## commLinkGetType

**Extends SpaceCenter**

The type of link.

**Parameters**

-   `commLink` **Long** A long value representing the id for the SpaceCenter.CommLink

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## commLinkGetSignalStrength

**Extends SpaceCenter**

Signal strength of the link.

**Parameters**

-   `commLink` **Long** A long value representing the id for the SpaceCenter.CommLink

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## commLinkGetStart

**Extends SpaceCenter**

Start point of the link.

**Parameters**

-   `commLink` **Long** A long value representing the id for the SpaceCenter.CommLink

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## commLinkGetEnd

**Extends SpaceCenter**

Start point of the link.

**Parameters**

-   `commLink` **Long** A long value representing the id for the SpaceCenter.CommLink

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## commNodeGetName

**Extends SpaceCenter**

Name of the communication node.

**Parameters**

-   `commNode` **Long** A long value representing the id for the SpaceCenter.CommNode

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## commNodeGetIsHome

**Extends SpaceCenter**

Whether the communication node is on Kerbin.

**Parameters**

-   `commNode` **Long** A long value representing the id for the SpaceCenter.CommNode

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## commNodeGetIsControlPoint

**Extends SpaceCenter**

Whether the communication node is a control point, for example a manned vessel.

**Parameters**

-   `commNode` **Long** A long value representing the id for the SpaceCenter.CommNode

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## commNodeGetIsVessel

**Extends SpaceCenter**

Whether the communication node is a vessel.

**Parameters**

-   `commNode` **Long** A long value representing the id for the SpaceCenter.CommNode

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## commNodeGetVessel

**Extends SpaceCenter**

The vessel for this communication node.

**Parameters**

-   `commNode` **Long** A long value representing the id for the SpaceCenter.CommNode

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## commsGetCanCommunicate

**Extends SpaceCenter**

Whether the vessel can communicate with KSC.

**Parameters**

-   `comms` **Long** A long value representing the id for the SpaceCenter.Comms

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## commsGetCanTransmitScience

**Extends SpaceCenter**

Whether the vessel can transmit science data to KSC.

**Parameters**

-   `comms` **Long** A long value representing the id for the SpaceCenter.Comms

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## commsGetSignalStrength

**Extends SpaceCenter**

Signal strength to KSC.

**Parameters**

-   `comms` **Long** A long value representing the id for the SpaceCenter.Comms

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## commsGetSignalDelay

**Extends SpaceCenter**

Signal delay to KSC in seconds.

**Parameters**

-   `comms` **Long** A long value representing the id for the SpaceCenter.Comms

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## commsGetPower

**Extends SpaceCenter**

The combined power of all active antennae on the vessel.

**Parameters**

-   `comms` **Long** A long value representing the id for the SpaceCenter.Comms

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## commsGetControlPath

**Extends SpaceCenter**

The communication path used to control the vessel.

**Parameters**

-   `comms` **Long** A long value representing the id for the SpaceCenter.Comms

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractCancel

**Extends SpaceCenter**

Cancel an active contract.

**Parameters**

-   `contract` **Long** A long value representing the id for the SpaceCenter.Contract

Returns **void** 

## contractAccept

**Extends SpaceCenter**

Accept an offered contract.

**Parameters**

-   `contract` **Long** A long value representing the id for the SpaceCenter.Contract

Returns **void** 

## contractDecline

**Extends SpaceCenter**

Decline an offered contract.

**Parameters**

-   `contract` **Long** A long value representing the id for the SpaceCenter.Contract

Returns **void** 

## contractGetType

**Extends SpaceCenter**

Type of the contract.

**Parameters**

-   `contract` **Long** A long value representing the id for the SpaceCenter.Contract

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractGetTitle

**Extends SpaceCenter**

Title of the contract.

**Parameters**

-   `contract` **Long** A long value representing the id for the SpaceCenter.Contract

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractGetDescription

**Extends SpaceCenter**

Description of the contract.

**Parameters**

-   `contract` **Long** A long value representing the id for the SpaceCenter.Contract

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractGetNotes

**Extends SpaceCenter**

Notes for the contract.

**Parameters**

-   `contract` **Long** A long value representing the id for the SpaceCenter.Contract

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractGetSynopsis

**Extends SpaceCenter**

Synopsis for the contract.

**Parameters**

-   `contract` **Long** A long value representing the id for the SpaceCenter.Contract

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractGetKeywords

**Extends SpaceCenter**

Keywords for the contract.

**Parameters**

-   `contract` **Long** A long value representing the id for the SpaceCenter.Contract

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractGetState

**Extends SpaceCenter**

State of the contract.

**Parameters**

-   `contract` **Long** A long value representing the id for the SpaceCenter.Contract

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractGetActive

**Extends SpaceCenter**

Whether the contract is active.

**Parameters**

-   `contract` **Long** A long value representing the id for the SpaceCenter.Contract

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractGetFailed

**Extends SpaceCenter**

Whether the contract has been failed.

**Parameters**

-   `contract` **Long** A long value representing the id for the SpaceCenter.Contract

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractGetSeen

**Extends SpaceCenter**

Whether the contract has been seen.

**Parameters**

-   `contract` **Long** A long value representing the id for the SpaceCenter.Contract

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractGetRead

**Extends SpaceCenter**

Whether the contract has been read.

**Parameters**

-   `contract` **Long** A long value representing the id for the SpaceCenter.Contract

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractGetCanBeCanceled

**Extends SpaceCenter**

Whether the contract can be canceled.

**Parameters**

-   `contract` **Long** A long value representing the id for the SpaceCenter.Contract

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractGetCanBeDeclined

**Extends SpaceCenter**

Whether the contract can be declined.

**Parameters**

-   `contract` **Long** A long value representing the id for the SpaceCenter.Contract

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractGetCanBeFailed

**Extends SpaceCenter**

Whether the contract can be failed.

**Parameters**

-   `contract` **Long** A long value representing the id for the SpaceCenter.Contract

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractGetFundsAdvance

**Extends SpaceCenter**

Funds received when accepting the contract.

**Parameters**

-   `contract` **Long** A long value representing the id for the SpaceCenter.Contract

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractGetFundsCompletion

**Extends SpaceCenter**

Funds received on completion of the contract.

**Parameters**

-   `contract` **Long** A long value representing the id for the SpaceCenter.Contract

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractGetFundsFailure

**Extends SpaceCenter**

Funds lost if the contract is failed.

**Parameters**

-   `contract` **Long** A long value representing the id for the SpaceCenter.Contract

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractGetReputationCompletion

**Extends SpaceCenter**

Reputation gained on completion of the contract.

**Parameters**

-   `contract` **Long** A long value representing the id for the SpaceCenter.Contract

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractGetReputationFailure

**Extends SpaceCenter**

Reputation lost if the contract is failed.

**Parameters**

-   `contract` **Long** A long value representing the id for the SpaceCenter.Contract

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractGetScienceCompletion

**Extends SpaceCenter**

Science gained on completion of the contract.

**Parameters**

-   `contract` **Long** A long value representing the id for the SpaceCenter.Contract

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractGetParameters

**Extends SpaceCenter**

Parameters for the contract.

**Parameters**

-   `contract` **Long** A long value representing the id for the SpaceCenter.Contract

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractManagerGetTypes

**Extends SpaceCenter**

A list of all contract types.

**Parameters**

-   `contractManager` **Long** A long value representing the id for the SpaceCenter.ContractManager

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractManagerGetAllContracts

**Extends SpaceCenter**

A list of all contracts.

**Parameters**

-   `contractManager` **Long** A long value representing the id for the SpaceCenter.ContractManager

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractManagerGetActiveContracts

**Extends SpaceCenter**

A list of all active contracts.

**Parameters**

-   `contractManager` **Long** A long value representing the id for the SpaceCenter.ContractManager

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractManagerGetOfferedContracts

**Extends SpaceCenter**

A list of all offered, but unaccepted, contracts.

**Parameters**

-   `contractManager` **Long** A long value representing the id for the SpaceCenter.ContractManager

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractManagerGetCompletedContracts

**Extends SpaceCenter**

A list of all completed contracts.

**Parameters**

-   `contractManager` **Long** A long value representing the id for the SpaceCenter.ContractManager

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractManagerGetFailedContracts

**Extends SpaceCenter**

A list of all failed contracts.

**Parameters**

-   `contractManager` **Long** A long value representing the id for the SpaceCenter.ContractManager

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractParameterGetTitle

**Extends SpaceCenter**

Title of the parameter.

**Parameters**

-   `contractParameter` **Long** A long value representing the id for the SpaceCenter.ContractParameter

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractParameterGetNotes

**Extends SpaceCenter**

Notes for the parameter.

**Parameters**

-   `contractParameter` **Long** A long value representing the id for the SpaceCenter.ContractParameter

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractParameterGetChildren

**Extends SpaceCenter**

Child contract parameters.

**Parameters**

-   `contractParameter` **Long** A long value representing the id for the SpaceCenter.ContractParameter

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractParameterGetCompleted

**Extends SpaceCenter**

Whether the parameter has been completed.

**Parameters**

-   `contractParameter` **Long** A long value representing the id for the SpaceCenter.ContractParameter

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractParameterGetFailed

**Extends SpaceCenter**

Whether the parameter has been failed.

**Parameters**

-   `contractParameter` **Long** A long value representing the id for the SpaceCenter.ContractParameter

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractParameterGetOptional

**Extends SpaceCenter**

Whether the contract parameter is optional.

**Parameters**

-   `contractParameter` **Long** A long value representing the id for the SpaceCenter.ContractParameter

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractParameterGetFundsCompletion

**Extends SpaceCenter**

Funds received on completion of the contract parameter.

**Parameters**

-   `contractParameter` **Long** A long value representing the id for the SpaceCenter.ContractParameter

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractParameterGetFundsFailure

**Extends SpaceCenter**

Funds lost if the contract parameter is failed.

**Parameters**

-   `contractParameter` **Long** A long value representing the id for the SpaceCenter.ContractParameter

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractParameterGetReputationCompletion

**Extends SpaceCenter**

Reputation gained on completion of the contract parameter.

**Parameters**

-   `contractParameter` **Long** A long value representing the id for the SpaceCenter.ContractParameter

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractParameterGetReputationFailure

**Extends SpaceCenter**

Reputation lost if the contract parameter is failed.

**Parameters**

-   `contractParameter` **Long** A long value representing the id for the SpaceCenter.ContractParameter

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## contractParameterGetScienceCompletion

**Extends SpaceCenter**

Science gained on completion of the contract parameter.

**Parameters**

-   `contractParameter` **Long** A long value representing the id for the SpaceCenter.ContractParameter

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlActivateNextStage

**Extends SpaceCenter**

Activates the next stage. Equivalent to pressing the space bar in-game.
Returns: A list of vessel objects that are jettisoned from the active vessel.
 When called, the active vessel may change. It is therefore possible that,
after calling this function, the object(s) returned by previous call(s) to
[M:SpaceCenter.ActiveVessel](M:SpaceCenter.ActiveVessel) no longer refer to the active vessel.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlGetActionGroup

**Extends SpaceCenter**

Returns true if the given action group is enabled.

<param name="group">
A number between 0 and 9 inclusive,
or between 0 and 250 inclusive when the <a href="https://forum.kerbalspaceprogram.com/index.php?/topic/67235-122dec1016-action-groups-extended-250-action-groups-in-flight-editing-now-kosremotetech/">Extended Action Groups mod</a> is installed.
</param>

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `group` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** A number between 0 and 9 inclusive,
    or between 0 and 250 inclusive when the &lt;a href="<https://forum.kerbalspaceprogram.com/index.php?/topic/67235-122dec1016-action-groups-extended-250-action-groups-in-flight-editing-now-kosremotetech/,Extended> Action Groups mod</a> is installed.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSetActionGroup

**Extends SpaceCenter**

Sets the state of the given action group.

<param name="group">
A number between 0 and 9 inclusive,
or between 0 and 250 inclusive when the <a href="https://forum.kerbalspaceprogram.com/index.php?/topic/67235-122dec1016-action-groups-extended-250-action-groups-in-flight-editing-now-kosremotetech/">Extended Action Groups mod</a> is installed.
</param>

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `group` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** A number between 0 and 9 inclusive,
    or between 0 and 250 inclusive when the &lt;a href="<https://forum.kerbalspaceprogram.com/index.php?/topic/67235-122dec1016-action-groups-extended-250-action-groups-in-flight-editing-now-kosremotetech/,Extended> Action Groups mod</a> is installed.
-   `state` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## controlToggleActionGroup

**Extends SpaceCenter**

Toggles the state of the given action group.

<param name="group">
A number between 0 and 9 inclusive,
or between 0 and 250 inclusive when the <a href="https://forum.kerbalspaceprogram.com/index.php?/topic/67235-122dec1016-action-groups-extended-250-action-groups-in-flight-editing-now-kosremotetech/">Extended Action Groups mod</a> is installed.
</param>

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `group` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** A number between 0 and 9 inclusive,
    or between 0 and 250 inclusive when the &lt;a href="<https://forum.kerbalspaceprogram.com/index.php?/topic/67235-122dec1016-action-groups-extended-250-action-groups-in-flight-editing-now-kosremotetech/,Extended> Action Groups mod</a> is installed.

Returns **void** 

## controlAddNode

**Extends SpaceCenter**

Creates a maneuver node at the given universal time, and returns a
[T:SpaceCenter.Node](T:SpaceCenter.Node) object that can be used to modify it.
Optionally sets the magnitude of the delta-v for the maneuver node
in the prograde, normal and radial directions.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `ut` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Universal time of the maneuver node.
-   `prograde` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Delta-v in the prograde direction.
-   `normal` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Delta-v in the normal direction.
-   `radial` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Delta-v in the radial direction.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlRemoveNodes

**Extends SpaceCenter**

Remove all maneuver nodes.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **void** 

## controlGetState

**Extends SpaceCenter**

The control state of the vessel.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlGetSource

**Extends SpaceCenter**

The source of the vessels control, for example by a kerbal or a probe core.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlGetSas

**Extends SpaceCenter**

The state of SAS.
<remarks>Equivalent to [M:SpaceCenter.AutoPilot.SAS](M:SpaceCenter.AutoPilot.SAS)

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSetSas

**Extends SpaceCenter**

The state of SAS.
<remarks>Equivalent to [M:SpaceCenter.AutoPilot.SAS](M:SpaceCenter.AutoPilot.SAS)

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## controlGetSasMode

**Extends SpaceCenter**

The current [T:SpaceCenter.SASMode](T:SpaceCenter.SASMode).
These modes are equivalent to the mode buttons to
the left of the navball that appear when SAS is enabled.
<remarks>Equivalent to [M:SpaceCenter.AutoPilot.SASMode](M:SpaceCenter.AutoPilot.SASMode)

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSetSasMode

**Extends SpaceCenter**

The current [T:SpaceCenter.SASMode](T:SpaceCenter.SASMode).
These modes are equivalent to the mode buttons to
the left of the navball that appear when SAS is enabled.
<remarks>Equivalent to [M:SpaceCenter.AutoPilot.SASMode](M:SpaceCenter.AutoPilot.SASMode)

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `value` **Long** A long value representing the id for the SpaceCenter.SASMode

Returns **void** 

## controlGetSpeedMode

**Extends SpaceCenter**

The current [T:SpaceCenter.SpeedMode](T:SpaceCenter.SpeedMode) of the navball.
This is the mode displayed next to the speed at the top of the navball.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSetSpeedMode

**Extends SpaceCenter**

The current [T:SpaceCenter.SpeedMode](T:SpaceCenter.SpeedMode) of the navball.
This is the mode displayed next to the speed at the top of the navball.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `value` **Long** A long value representing the id for the SpaceCenter.SpeedMode

Returns **void** 

## controlGetRcs

**Extends SpaceCenter**

The state of RCS.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSetRcs

**Extends SpaceCenter**

The state of RCS.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## controlGetReactionWheels

**Extends SpaceCenter**

Returns whether all reactive wheels on the vessel are active,
and sets the active state of all reaction wheels.
See [M:SpaceCenter.ReactionWheel.Active](M:SpaceCenter.ReactionWheel.Active).

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSetReactionWheels

**Extends SpaceCenter**

Returns whether all reactive wheels on the vessel are active,
and sets the active state of all reaction wheels.
See [M:SpaceCenter.ReactionWheel.Active](M:SpaceCenter.ReactionWheel.Active).

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## controlGetGear

**Extends SpaceCenter**

The state of the landing gear/legs.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSetGear

**Extends SpaceCenter**

The state of the landing gear/legs.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## controlGetLegs

**Extends SpaceCenter**

Returns whether all landing legs on the vessel are deployed,
and sets the deployment state of all landing legs.
Does not include wheels (for example landing gear).
See [M:SpaceCenter.Leg.Deployed](M:SpaceCenter.Leg.Deployed).

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSetLegs

**Extends SpaceCenter**

Returns whether all landing legs on the vessel are deployed,
and sets the deployment state of all landing legs.
Does not include wheels (for example landing gear).
See [M:SpaceCenter.Leg.Deployed](M:SpaceCenter.Leg.Deployed).

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## controlGetWheels

**Extends SpaceCenter**

Returns whether all wheels on the vessel are deployed,
and sets the deployment state of all wheels.
Does not include landing legs.
See [M:SpaceCenter.Wheel.Deployed](M:SpaceCenter.Wheel.Deployed).

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSetWheels

**Extends SpaceCenter**

Returns whether all wheels on the vessel are deployed,
and sets the deployment state of all wheels.
Does not include landing legs.
See [M:SpaceCenter.Wheel.Deployed](M:SpaceCenter.Wheel.Deployed).

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## controlGetLights

**Extends SpaceCenter**

The state of the lights.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSetLights

**Extends SpaceCenter**

The state of the lights.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## controlGetBrakes

**Extends SpaceCenter**

The state of the wheel brakes.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSetBrakes

**Extends SpaceCenter**

The state of the wheel brakes.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## controlGetAntennas

**Extends SpaceCenter**

Returns whether all antennas on the vessel are deployed,
and sets the deployment state of all antennas.
See [M:SpaceCenter.Antenna.Deployed](M:SpaceCenter.Antenna.Deployed).

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSetAntennas

**Extends SpaceCenter**

Returns whether all antennas on the vessel are deployed,
and sets the deployment state of all antennas.
See [M:SpaceCenter.Antenna.Deployed](M:SpaceCenter.Antenna.Deployed).

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## controlGetCargoBays

**Extends SpaceCenter**

Returns whether any of the cargo bays on the vessel are open,
and sets the open state of all cargo bays.
See [M:SpaceCenter.CargoBay.Open](M:SpaceCenter.CargoBay.Open).

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSetCargoBays

**Extends SpaceCenter**

Returns whether any of the cargo bays on the vessel are open,
and sets the open state of all cargo bays.
See [M:SpaceCenter.CargoBay.Open](M:SpaceCenter.CargoBay.Open).

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## controlGetIntakes

**Extends SpaceCenter**

Returns whether all of the air intakes on the vessel are open,
and sets the open state of all air intakes.
See [M:SpaceCenter.Intake.Open](M:SpaceCenter.Intake.Open).

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSetIntakes

**Extends SpaceCenter**

Returns whether all of the air intakes on the vessel are open,
and sets the open state of all air intakes.
See [M:SpaceCenter.Intake.Open](M:SpaceCenter.Intake.Open).

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## controlGetParachutes

**Extends SpaceCenter**

Returns whether all parachutes on the vessel are deployed,
and sets the deployment state of all parachutes.
Cannot be set to false.
See [M:SpaceCenter.Parachute.Deployed](M:SpaceCenter.Parachute.Deployed).

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSetParachutes

**Extends SpaceCenter**

Returns whether all parachutes on the vessel are deployed,
and sets the deployment state of all parachutes.
Cannot be set to false.
See [M:SpaceCenter.Parachute.Deployed](M:SpaceCenter.Parachute.Deployed).

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## controlGetRadiators

**Extends SpaceCenter**

Returns whether all radiators on the vessel are deployed,
and sets the deployment state of all radiators.
See [M:SpaceCenter.Radiator.Deployed](M:SpaceCenter.Radiator.Deployed).

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSetRadiators

**Extends SpaceCenter**

Returns whether all radiators on the vessel are deployed,
and sets the deployment state of all radiators.
See [M:SpaceCenter.Radiator.Deployed](M:SpaceCenter.Radiator.Deployed).

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## controlGetResourceHarvesters

**Extends SpaceCenter**

Returns whether all of the resource harvesters on the vessel are deployed,
and sets the deployment state of all resource harvesters.
See [M:SpaceCenter.ResourceHarvester.Deployed](M:SpaceCenter.ResourceHarvester.Deployed).

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSetResourceHarvesters

**Extends SpaceCenter**

Returns whether all of the resource harvesters on the vessel are deployed,
and sets the deployment state of all resource harvesters.
See [M:SpaceCenter.ResourceHarvester.Deployed](M:SpaceCenter.ResourceHarvester.Deployed).

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## controlGetResourceHarvestersActive

**Extends SpaceCenter**

Returns whether any of the resource harvesters on the vessel are active,
and sets the active state of all resource harvesters.
See [M:SpaceCenter.ResourceHarvester.Active](M:SpaceCenter.ResourceHarvester.Active).

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSetResourceHarvestersActive

**Extends SpaceCenter**

Returns whether any of the resource harvesters on the vessel are active,
and sets the active state of all resource harvesters.
See [M:SpaceCenter.ResourceHarvester.Active](M:SpaceCenter.ResourceHarvester.Active).

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## controlGetSolarPanels

**Extends SpaceCenter**

Returns whether all solar panels on the vessel are deployed,
and sets the deployment state of all solar panels.
See [M:SpaceCenter.SolarPanel.Deployed](M:SpaceCenter.SolarPanel.Deployed).

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSetSolarPanels

**Extends SpaceCenter**

Returns whether all solar panels on the vessel are deployed,
and sets the deployment state of all solar panels.
See [M:SpaceCenter.SolarPanel.Deployed](M:SpaceCenter.SolarPanel.Deployed).

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## controlGetAbort

**Extends SpaceCenter**

The state of the abort action group.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSetAbort

**Extends SpaceCenter**

The state of the abort action group.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## controlGetThrottle

**Extends SpaceCenter**

The state of the throttle. A value between 0 and 1.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSetThrottle

**Extends SpaceCenter**

The state of the throttle. A value between 0 and 1.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## controlGetInputMode

**Extends SpaceCenter**

Sets the behavior of the pitch, yaw, roll and translation control inputs.
When set to additive, these inputs are added to the vessels current inputs.
This mode is the default.
When set to override, these inputs (if non-zero) override the vessels inputs.
This mode prevents keyboard control, or SAS, from interfering with the controls when
they are set.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSetInputMode

**Extends SpaceCenter**

Sets the behavior of the pitch, yaw, roll and translation control inputs.
When set to additive, these inputs are added to the vessels current inputs.
This mode is the default.
When set to override, these inputs (if non-zero) override the vessels inputs.
This mode prevents keyboard control, or SAS, from interfering with the controls when
they are set.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `value` **Long** A long value representing the id for the SpaceCenter.ControlInputMode

Returns **void** 

## controlGetPitch

**Extends SpaceCenter**

The state of the pitch control.
A value between -1 and 1.
Equivalent to the w and s keys.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSetPitch

**Extends SpaceCenter**

The state of the pitch control.
A value between -1 and 1.
Equivalent to the w and s keys.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## controlGetYaw

**Extends SpaceCenter**

The state of the yaw control.
A value between -1 and 1.
Equivalent to the a and d keys.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSetYaw

**Extends SpaceCenter**

The state of the yaw control.
A value between -1 and 1.
Equivalent to the a and d keys.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## controlGetRoll

**Extends SpaceCenter**

The state of the roll control.
A value between -1 and 1.
Equivalent to the q and e keys.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSetRoll

**Extends SpaceCenter**

The state of the roll control.
A value between -1 and 1.
Equivalent to the q and e keys.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## controlGetForward

**Extends SpaceCenter**

The state of the forward translational control.
A value between -1 and 1.
Equivalent to the h and n keys.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSetForward

**Extends SpaceCenter**

The state of the forward translational control.
A value between -1 and 1.
Equivalent to the h and n keys.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## controlGetUp

**Extends SpaceCenter**

The state of the up translational control.
A value between -1 and 1.
Equivalent to the i and k keys.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSetUp

**Extends SpaceCenter**

The state of the up translational control.
A value between -1 and 1.
Equivalent to the i and k keys.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## controlGetRight

**Extends SpaceCenter**

The state of the right translational control.
A value between -1 and 1.
Equivalent to the j and l keys.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSetRight

**Extends SpaceCenter**

The state of the right translational control.
A value between -1 and 1.
Equivalent to the j and l keys.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## controlGetWheelThrottle

**Extends SpaceCenter**

The state of the wheel throttle.
A value between -1 and 1.
A value of 1 rotates the wheels forwards, a value of -1 rotates
the wheels backwards.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSetWheelThrottle

**Extends SpaceCenter**

The state of the wheel throttle.
A value between -1 and 1.
A value of 1 rotates the wheels forwards, a value of -1 rotates
the wheels backwards.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## controlGetWheelSteering

**Extends SpaceCenter**

The state of the wheel steering.
A value between -1 and 1.
A value of 1 steers to the left, and a value of -1 steers to the right.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSetWheelSteering

**Extends SpaceCenter**

The state of the wheel steering.
A value between -1 and 1.
A value of 1 steers to the left, and a value of -1 steers to the right.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## controlGetCurrentStage

**Extends SpaceCenter**

The current stage of the vessel. Corresponds to the stage number in
the in-game UI.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlGetNodes

**Extends SpaceCenter**

Returns a list of all existing maneuver nodes, ordered by time from first to last.

**Parameters**

-   `control` **Long** A long value representing the id for the SpaceCenter.Control

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## crewMemberGetName

**Extends SpaceCenter**

The crew members name.

**Parameters**

-   `crewMember` **Long** A long value representing the id for the SpaceCenter.CrewMember

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## crewMemberSetName

**Extends SpaceCenter**

The crew members name.

**Parameters**

-   `crewMember` **Long** A long value representing the id for the SpaceCenter.CrewMember
-   `value` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 

Returns **void** 

## crewMemberGetType

**Extends SpaceCenter**

The type of crew member.

**Parameters**

-   `crewMember` **Long** A long value representing the id for the SpaceCenter.CrewMember

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## crewMemberGetOnMission

**Extends SpaceCenter**

Whether the crew member is on a mission.

**Parameters**

-   `crewMember` **Long** A long value representing the id for the SpaceCenter.CrewMember

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## crewMemberGetCourage

**Extends SpaceCenter**

The crew members courage.

**Parameters**

-   `crewMember` **Long** A long value representing the id for the SpaceCenter.CrewMember

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## crewMemberSetCourage

**Extends SpaceCenter**

The crew members courage.

**Parameters**

-   `crewMember` **Long** A long value representing the id for the SpaceCenter.CrewMember
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## crewMemberGetStupidity

**Extends SpaceCenter**

The crew members stupidity.

**Parameters**

-   `crewMember` **Long** A long value representing the id for the SpaceCenter.CrewMember

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## crewMemberSetStupidity

**Extends SpaceCenter**

The crew members stupidity.

**Parameters**

-   `crewMember` **Long** A long value representing the id for the SpaceCenter.CrewMember
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## crewMemberGetExperience

**Extends SpaceCenter**

The crew members experience.

**Parameters**

-   `crewMember` **Long** A long value representing the id for the SpaceCenter.CrewMember

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## crewMemberSetExperience

**Extends SpaceCenter**

The crew members experience.

**Parameters**

-   `crewMember` **Long** A long value representing the id for the SpaceCenter.CrewMember
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## crewMemberGetBadass

**Extends SpaceCenter**

Whether the crew member is a badass.

**Parameters**

-   `crewMember` **Long** A long value representing the id for the SpaceCenter.CrewMember

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## crewMemberSetBadass

**Extends SpaceCenter**

Whether the crew member is a badass.

**Parameters**

-   `crewMember` **Long** A long value representing the id for the SpaceCenter.CrewMember
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## crewMemberGetVeteran

**Extends SpaceCenter**

Whether the crew member is a veteran.

**Parameters**

-   `crewMember` **Long** A long value representing the id for the SpaceCenter.CrewMember

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## crewMemberSetVeteran

**Extends SpaceCenter**

Whether the crew member is a veteran.

**Parameters**

-   `crewMember` **Long** A long value representing the id for the SpaceCenter.CrewMember
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## flightSimulateAerodynamicForceAt

**Extends SpaceCenter**

Simulate and return the total aerodynamic forces acting on the vessel,
if it where to be traveling with the given velocity at the given position in the
atmosphere of the given celestial body.
Returns: A vector pointing in the direction that the force acts,
with its magnitude equal to the strength of the force in Newtons.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight
-   `body` **Long** A long value representing the id for the SpaceCenter.CelestialBody
-   `position` **{number, number, number}** 
-   `velocity` **{number, number, number}** 

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetGForce

**Extends SpaceCenter**

The current G force acting on the vessel in <math>m/s^2</math>.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetMeanAltitude

**Extends SpaceCenter**

The altitude above sea level, in meters.
Measured from the center of mass of the vessel.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetSurfaceAltitude

**Extends SpaceCenter**

The altitude above the surface of the body or sea level, whichever is closer, in meters.
Measured from the center of mass of the vessel.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetBedrockAltitude

**Extends SpaceCenter**

The altitude above the surface of the body, in meters. When over water, this is the altitude above the sea floor.
Measured from the center of mass of the vessel.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetElevation

**Extends SpaceCenter**

The elevation of the terrain under the vessel, in meters. This is the height of the terrain above sea level,
and is negative when the vessel is over the sea.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetLatitude

**Extends SpaceCenter**

The <a href="https://en.wikipedia.org/wiki/Latitude">latitude</a> of the vessel for the body being orbited, in degrees.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetLongitude

**Extends SpaceCenter**

The <a href="https://en.wikipedia.org/wiki/Longitude">longitude</a> of the vessel for the body being orbited, in degrees.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetVelocity

**Extends SpaceCenter**

The velocity of the vessel, in the reference frame [T:SpaceCenter.ReferenceFrame](T:SpaceCenter.ReferenceFrame).
Returns: The velocity as a vector. The vector points in the direction of travel,
and its magnitude is the speed of the vessel in meters per second.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetSpeed

**Extends SpaceCenter**

The speed of the vessel in meters per second,
in the reference frame [T:SpaceCenter.ReferenceFrame](T:SpaceCenter.ReferenceFrame).

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetHorizontalSpeed

**Extends SpaceCenter**

The horizontal speed of the vessel in meters per second,
in the reference frame [T:SpaceCenter.ReferenceFrame](T:SpaceCenter.ReferenceFrame).

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetVerticalSpeed

**Extends SpaceCenter**

The vertical speed of the vessel in meters per second,
in the reference frame [T:SpaceCenter.ReferenceFrame](T:SpaceCenter.ReferenceFrame).

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetCenterOfMass

**Extends SpaceCenter**

The position of the center of mass of the vessel,
in the reference frame [T:SpaceCenter.ReferenceFrame](T:SpaceCenter.ReferenceFrame)<returns>The position as a vector.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetRotation

**Extends SpaceCenter**

The rotation of the vessel, in the reference frame [T:SpaceCenter.ReferenceFrame](T:SpaceCenter.ReferenceFrame)<returns>The rotation as a quaternion of the form <math>(x, y, z, w)</math>.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetDirection

**Extends SpaceCenter**

The direction that the vessel is pointing in,
in the reference frame [T:SpaceCenter.ReferenceFrame](T:SpaceCenter.ReferenceFrame).
Returns: The direction as a unit vector.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetPitch

**Extends SpaceCenter**

The pitch of the vessel relative to the horizon, in degrees.
A value between -90° and +90°.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetHeading

**Extends SpaceCenter**

The heading of the vessel (its angle relative to north), in degrees.
A value between 0° and 360°.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetRoll

**Extends SpaceCenter**

The roll of the vessel relative to the horizon, in degrees.
A value between -180° and +180°.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetPrograde

**Extends SpaceCenter**

The prograde direction of the vessels orbit,
in the reference frame [T:SpaceCenter.ReferenceFrame](T:SpaceCenter.ReferenceFrame).
Returns: The direction as a unit vector.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetRetrograde

**Extends SpaceCenter**

The retrograde direction of the vessels orbit,
in the reference frame [T:SpaceCenter.ReferenceFrame](T:SpaceCenter.ReferenceFrame).
Returns: The direction as a unit vector.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetNormal

**Extends SpaceCenter**

The direction normal to the vessels orbit,
in the reference frame [T:SpaceCenter.ReferenceFrame](T:SpaceCenter.ReferenceFrame).
Returns: The direction as a unit vector.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetAntiNormal

**Extends SpaceCenter**

The direction opposite to the normal of the vessels orbit,
in the reference frame [T:SpaceCenter.ReferenceFrame](T:SpaceCenter.ReferenceFrame).
Returns: The direction as a unit vector.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetRadial

**Extends SpaceCenter**

The radial direction of the vessels orbit,
in the reference frame [T:SpaceCenter.ReferenceFrame](T:SpaceCenter.ReferenceFrame).
Returns: The direction as a unit vector.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetAntiRadial

**Extends SpaceCenter**

The direction opposite to the radial direction of the vessels orbit,
in the reference frame [T:SpaceCenter.ReferenceFrame](T:SpaceCenter.ReferenceFrame).
Returns: The direction as a unit vector.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetAtmosphereDensity

**Extends SpaceCenter**

The current density of the atmosphere around the vessel, in <math>kg/m^3</math>.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetDynamicPressure

**Extends SpaceCenter**

The dynamic pressure acting on the vessel, in Pascals. This is a measure of the
strength of the aerodynamic forces. It is equal to
<math>\\frac{1}{2} . \\mbox{air density} . \\mbox{velocity}^2</math>.
It is commonly denoted <math>Q</math>.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetStaticPressureAtMsl

**Extends SpaceCenter**

The static atmospheric pressure at mean sea level, in Pascals.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetStaticPressure

**Extends SpaceCenter**

The static atmospheric pressure acting on the vessel, in Pascals.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetAerodynamicForce

**Extends SpaceCenter**

The total aerodynamic forces acting on the vessel,
in reference frame [T:SpaceCenter.ReferenceFrame](T:SpaceCenter.ReferenceFrame).
Returns: A vector pointing in the direction that the force acts,
with its magnitude equal to the strength of the force in Newtons.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetLift

**Extends SpaceCenter**

The <a href="https://en.wikipedia.org/wiki/Aerodynamic_force">aerodynamic lift</a>
currently acting on the vessel.
Returns: A vector pointing in the direction that the force acts,
with its magnitude equal to the strength of the force in Newtons.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetDrag

**Extends SpaceCenter**

The <a href="https://en.wikipedia.org/wiki/Aerodynamic_force">aerodynamic drag</a> currently acting on the vessel.
Returns: A vector pointing in the direction of the force, with its magnitude
equal to the strength of the force in Newtons.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetSpeedOfSound

**Extends SpaceCenter**

The speed of sound, in the atmosphere around the vessel, in <math>m/s</math>.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetMach

**Extends SpaceCenter**

The speed of the vessel, in multiples of the speed of sound.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetReynoldsNumber

**Extends SpaceCenter**

The vessels Reynolds number.
 Requires <a href="https://forum.kerbalspaceprogram.com/index.php?/topic/19321-130-ferram-aerospace-research-v0159-liebe-82117/">Ferram Aerospace Research</a>.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetTrueAirSpeed

**Extends SpaceCenter**

The <a href="https://en.wikipedia.org/wiki/True_airspeed">true air speed</a>
of the vessel, in meters per second.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetEquivalentAirSpeed

**Extends SpaceCenter**

The <a href="https://en.wikipedia.org/wiki/Equivalent_airspeed">equivalent air speed</a>
of the vessel, in meters per second.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetTerminalVelocity

**Extends SpaceCenter**

An estimate of the current terminal velocity of the vessel, in meters per second.
This is the speed at which the drag forces cancel out the force of gravity.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetAngleOfAttack

**Extends SpaceCenter**

The pitch angle between the orientation of the vessel and its velocity vector,
in degrees.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetSideslipAngle

**Extends SpaceCenter**

The yaw angle between the orientation of the vessel and its velocity vector, in degrees.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetTotalAirTemperature

**Extends SpaceCenter**

The <a href="https://en.wikipedia.org/wiki/Total_air_temperature">total air temperature</a>
of the atmosphere around the vessel, in Kelvin.
This includes the [M:SpaceCenter.Flight.StaticAirTemperature](M:SpaceCenter.Flight.StaticAirTemperature) and the vessel's kinetic energy.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetStaticAirTemperature

**Extends SpaceCenter**

The <a href="https://en.wikipedia.org/wiki/Total_air_temperature">static (ambient)
temperature</a> of the atmosphere around the vessel, in Kelvin.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetStallFraction

**Extends SpaceCenter**

The current amount of stall, between 0 and 1. A value greater than 0.005 indicates
a minor stall and a value greater than 0.5 indicates a large-scale stall.
 Requires <a href="https://forum.kerbalspaceprogram.com/index.php?/topic/19321-130-ferram-aerospace-research-v0159-liebe-82117/">Ferram Aerospace Research</a>.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetDragCoefficient

**Extends SpaceCenter**

The coefficient of drag. This is the amount of drag produced by the vessel.
It depends on air speed, air density and wing area.
 Requires <a href="https://forum.kerbalspaceprogram.com/index.php?/topic/19321-130-ferram-aerospace-research-v0159-liebe-82117/">Ferram Aerospace Research</a>.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetLiftCoefficient

**Extends SpaceCenter**

The coefficient of lift. This is the amount of lift produced by the vessel, and
depends on air speed, air density and wing area.
 Requires <a href="https://forum.kerbalspaceprogram.com/index.php?/topic/19321-130-ferram-aerospace-research-v0159-liebe-82117/">Ferram Aerospace Research</a>.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetBallisticCoefficient

**Extends SpaceCenter**

The <a href="https://en.wikipedia.org/wiki/Ballistic_coefficient">ballistic coefficient</a>.
 Requires <a href="https://forum.kerbalspaceprogram.com/index.php?/topic/19321-130-ferram-aerospace-research-v0159-liebe-82117/">Ferram Aerospace Research</a>.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## flightGetThrustSpecificFuelConsumption

**Extends SpaceCenter**

The thrust specific fuel consumption for the jet engines on the vessel. This is a
measure of the efficiency of the engines, with a lower value indicating a more
efficient vessel. This value is the number of Newtons of fuel that are burned,
per hour, to produce one newton of thrust.
 Requires <a href="https://forum.kerbalspaceprogram.com/index.php?/topic/19321-130-ferram-aerospace-research-v0159-liebe-82117/">Ferram Aerospace Research</a>.

**Parameters**

-   `flight` **Long** A long value representing the id for the SpaceCenter.Flight

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## nodeBurnVector

**Extends SpaceCenter**

Returns the burn vector for the maneuver node.

<param name="referenceFrame">The reference frame that the returned vector is in.
Defaults to {@link M:SpaceCenter.Vessel.OrbitalReferenceFrame}.</param>
Returns: A vector whose direction is the direction of the maneuver node burn, and
magnitude is the delta-v of the burn in meters per second.

 Does not change when executing the maneuver node. See [M:SpaceCenter.Node.RemainingBurnVector](M:SpaceCenter.Node.RemainingBurnVector).

**Parameters**

-   `node` **Long** A long value representing the id for the SpaceCenter.Node
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## nodeRemainingBurnVector

**Extends SpaceCenter**

Returns the remaining burn vector for the maneuver node.

<param name="referenceFrame">The reference frame that the returned vector is in.
Defaults to {@link M:SpaceCenter.Vessel.OrbitalReferenceFrame}.</param>
Returns: A vector whose direction is the direction of the maneuver node burn, and
magnitude is the delta-v of the burn in meters per second.

 Changes as the maneuver node is executed. See [M:SpaceCenter.Node.BurnVector](M:SpaceCenter.Node.BurnVector).

**Parameters**

-   `node` **Long** A long value representing the id for the SpaceCenter.Node
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## nodeRemove

**Extends SpaceCenter**

Removes the maneuver node.

**Parameters**

-   `node` **Long** A long value representing the id for the SpaceCenter.Node

Returns **void** 

## nodePosition

**Extends SpaceCenter**

The position vector of the maneuver node in the given reference frame.
Returns: The position as a vector.

<param name="referenceFrame">The reference frame that the returned
position vector is in.</param>

**Parameters**

-   `node` **Long** A long value representing the id for the SpaceCenter.Node
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## nodeDirection

**Extends SpaceCenter**

The direction of the maneuver nodes burn.
Returns: The direction as a unit vector.

<param name="referenceFrame">The reference frame that the returned
direction is in.</param>

**Parameters**

-   `node` **Long** A long value representing the id for the SpaceCenter.Node
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## nodeGetPrograde

**Extends SpaceCenter**

The magnitude of the maneuver nodes delta-v in the prograde direction,
in meters per second.

**Parameters**

-   `node` **Long** A long value representing the id for the SpaceCenter.Node

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## nodeSetPrograde

**Extends SpaceCenter**

The magnitude of the maneuver nodes delta-v in the prograde direction,
in meters per second.

**Parameters**

-   `node` **Long** A long value representing the id for the SpaceCenter.Node
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## nodeGetNormal

**Extends SpaceCenter**

The magnitude of the maneuver nodes delta-v in the normal direction,
in meters per second.

**Parameters**

-   `node` **Long** A long value representing the id for the SpaceCenter.Node

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## nodeSetNormal

**Extends SpaceCenter**

The magnitude of the maneuver nodes delta-v in the normal direction,
in meters per second.

**Parameters**

-   `node` **Long** A long value representing the id for the SpaceCenter.Node
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## nodeGetRadial

**Extends SpaceCenter**

The magnitude of the maneuver nodes delta-v in the radial direction,
in meters per second.

**Parameters**

-   `node` **Long** A long value representing the id for the SpaceCenter.Node

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## nodeSetRadial

**Extends SpaceCenter**

The magnitude of the maneuver nodes delta-v in the radial direction,
in meters per second.

**Parameters**

-   `node` **Long** A long value representing the id for the SpaceCenter.Node
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## nodeGetDeltaV

**Extends SpaceCenter**

The delta-v of the maneuver node, in meters per second.
 Does not change when executing the maneuver node. See [M:SpaceCenter.Node.RemainingDeltaV](M:SpaceCenter.Node.RemainingDeltaV).

**Parameters**

-   `node` **Long** A long value representing the id for the SpaceCenter.Node

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## nodeSetDeltaV

**Extends SpaceCenter**

The delta-v of the maneuver node, in meters per second.
 Does not change when executing the maneuver node. See [M:SpaceCenter.Node.RemainingDeltaV](M:SpaceCenter.Node.RemainingDeltaV).

**Parameters**

-   `node` **Long** A long value representing the id for the SpaceCenter.Node
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## nodeGetRemainingDeltaV

**Extends SpaceCenter**

Gets the remaining delta-v of the maneuver node, in meters per second. Changes as the
node is executed. This is equivalent to the delta-v reported in-game.

**Parameters**

-   `node` **Long** A long value representing the id for the SpaceCenter.Node

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## nodeGetUt

**Extends SpaceCenter**

The universal time at which the maneuver will occur, in seconds.

**Parameters**

-   `node` **Long** A long value representing the id for the SpaceCenter.Node

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## nodeSetUt

**Extends SpaceCenter**

The universal time at which the maneuver will occur, in seconds.

**Parameters**

-   `node` **Long** A long value representing the id for the SpaceCenter.Node
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## nodeGetTimeTo

**Extends SpaceCenter**

The time until the maneuver node will be encountered, in seconds.

**Parameters**

-   `node` **Long** A long value representing the id for the SpaceCenter.Node

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## nodeGetOrbit

**Extends SpaceCenter**

The orbit that results from executing the maneuver node.

**Parameters**

-   `node` **Long** A long value representing the id for the SpaceCenter.Node

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## nodeGetReferenceFrame

**Extends SpaceCenter**

The reference frame that is fixed relative to the maneuver node's burn.
<list type="bullet"><item><description>The origin is at the position of the maneuver node.</description></item><item><description>The y-axis points in the direction of the burn.</description></item><item><description>The x-axis and z-axis point in arbitrary but fixed directions.</description></item></list>

**Parameters**

-   `node` **Long** A long value representing the id for the SpaceCenter.Node

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## nodeGetOrbitalReferenceFrame

**Extends SpaceCenter**

The reference frame that is fixed relative to the maneuver node, and
orientated with the orbital prograde/normal/radial directions of the
original orbit at the maneuver node's position.
<list type="bullet"><item><description>The origin is at the position of the maneuver node.</description></item><item><description>The x-axis points in the orbital anti-radial direction of the original
orbit, at the position of the maneuver node.</description></item><item><description>The y-axis points in the orbital prograde direction of the original
orbit, at the position of the maneuver node.</description></item><item><description>The z-axis points in the orbital normal direction of the original orbit,
at the position of the maneuver node.</description></item></list>

**Parameters**

-   `node` **Long** A long value representing the id for the SpaceCenter.Node

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitStaticReferencePlaneNormal

**Extends SpaceCenter**

The direction that is normal to the orbits reference plane,
in the given reference frame.
The reference plane is the plane from which the orbits inclination is measured.
Returns: The direction as a unit vector.

<param name="referenceFrame">The reference frame that the returned
direction is in.</param>

**Parameters**

-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitStaticReferencePlaneDirection

**Extends SpaceCenter**

The direction from which the orbits longitude of ascending node is measured,
in the given reference frame.
Returns: The direction as a unit vector.

<param name="referenceFrame">The reference frame that the returned
direction is in.</param>

**Parameters**

-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitMeanAnomalyAtUt

**Extends SpaceCenter**

The mean anomaly at the given time.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit
-   `ut` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** The universal time in seconds.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitRadiusAtTrueAnomaly

**Extends SpaceCenter**

The orbital radius at the point in the orbit given by the true anomaly.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit
-   `trueAnomaly` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** The true anomaly.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitTrueAnomalyAtRadius

**Extends SpaceCenter**

The true anomaly at the given orbital radius.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit
-   `radius` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** The orbital radius in meters.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitTrueAnomalyAtUt

**Extends SpaceCenter**

The true anomaly at the given time.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit
-   `ut` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** The universal time in seconds.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitUtAtTrueAnomaly

**Extends SpaceCenter**

The universal time, in seconds, corresponding to the given true anomaly.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit
-   `trueAnomaly` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** True anomaly.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitEccentricAnomalyAtUt

**Extends SpaceCenter**

The eccentric anomaly at the given universal time.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit
-   `ut` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** The universal time, in seconds.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitOrbitalSpeedAt

**Extends SpaceCenter**

The orbital speed at the given time, in meters per second.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit
-   `time` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Time from now, in seconds.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitRadiusAt

**Extends SpaceCenter**

The orbital radius at the given time, in meters.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit
-   `ut` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** The universal time to measure the radius at.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitPositionAt

**Extends SpaceCenter**

The position at a given time, in the specified reference frame.
Returns: The position as a vector.

<param name="referenceFrame">The reference frame that the returned
position vector is in.</param>

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit
-   `ut` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** The universal time to measure the position at.
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitTimeOfClosestApproach

**Extends SpaceCenter**

Estimates and returns the time at closest approach to a target vessel.
Returns: The universal time at closest approach, in seconds.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit
-   `target` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitDistanceAtClosestApproach

**Extends SpaceCenter**

Estimates and returns the distance at closest approach to a target vessel, in meters.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit
-   `target` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitListClosestApproaches

**Extends SpaceCenter**

Returns the times at closest approach and corresponding distances, to a target vessel.
Returns:
A list of two lists.
The first is a list of times at closest approach, as universal times in seconds.
The second is a list of corresponding distances at closest approach, in meters.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit
-   `target` **Long** A long value representing the id for the SpaceCenter.Vessel
-   `orbits` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** The number of future orbits to search.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitTrueAnomalyAtAn

**Extends SpaceCenter**

The true anomaly of the ascending node with the given target vessel.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit
-   `target` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitTrueAnomalyAtDn

**Extends SpaceCenter**

The true anomaly of the descending node with the given target vessel.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit
-   `target` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitRelativeInclination

**Extends SpaceCenter**

Relative inclination of this orbit and the orbit of the given target vessel, in radians.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit
-   `target` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitGetBody

**Extends SpaceCenter**

The celestial body (e.g. planet or moon) around which the object is orbiting.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitGetApoapsis

**Extends SpaceCenter**

Gets the apoapsis of the orbit, in meters, from the center of mass
of the body being orbited.
 For the apoapsis altitude reported on the in-game map view,
use [M:SpaceCenter.Orbit.ApoapsisAltitude](M:SpaceCenter.Orbit.ApoapsisAltitude).

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitGetPeriapsis

**Extends SpaceCenter**

The periapsis of the orbit, in meters, from the center of mass
of the body being orbited.
 For the periapsis altitude reported on the in-game map view,
use [M:SpaceCenter.Orbit.PeriapsisAltitude](M:SpaceCenter.Orbit.PeriapsisAltitude).

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitGetApoapsisAltitude

**Extends SpaceCenter**

The apoapsis of the orbit, in meters, above the sea level of the body being orbited.
 This is equal to [M:SpaceCenter.Orbit.Apoapsis](M:SpaceCenter.Orbit.Apoapsis) minus the equatorial radius of the body.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitGetPeriapsisAltitude

**Extends SpaceCenter**

The periapsis of the orbit, in meters, above the sea level of the body being orbited.
 This is equal to [M:SpaceCenter.Orbit.Periapsis](M:SpaceCenter.Orbit.Periapsis) minus the equatorial radius of the body.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitGetSemiMajorAxis

**Extends SpaceCenter**

The semi-major axis of the orbit, in meters.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitGetSemiMinorAxis

**Extends SpaceCenter**

The semi-minor axis of the orbit, in meters.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitGetRadius

**Extends SpaceCenter**

The current radius of the orbit, in meters. This is the distance between the center
of mass of the object in orbit, and the center of mass of the body around which it
is orbiting.
 This value will change over time if the orbit is elliptical.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitGetSpeed

**Extends SpaceCenter**

The current orbital speed of the object in meters per second.
 This value will change over time if the orbit is elliptical.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitGetPeriod

**Extends SpaceCenter**

The orbital period, in seconds.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitGetTimeToApoapsis

**Extends SpaceCenter**

The time until the object reaches apoapsis, in seconds.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitGetTimeToPeriapsis

**Extends SpaceCenter**

The time until the object reaches periapsis, in seconds.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitGetEccentricity

**Extends SpaceCenter**

The <a href="https://en.wikipedia.org/wiki/Orbital_eccentricity">eccentricity</a>
of the orbit.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitGetInclination

**Extends SpaceCenter**

The <a href="https://en.wikipedia.org/wiki/Orbital_inclination">inclination</a>
of the orbit,
in radians.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitGetLongitudeOfAscendingNode

**Extends SpaceCenter**

The <a href="https://en.wikipedia.org/wiki/Longitude_of_the_ascending_node">longitude of
the ascending node</a>, in radians.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitGetArgumentOfPeriapsis

**Extends SpaceCenter**

The <a href="https://en.wikipedia.org/wiki/Argument_of_periapsis">argument of
periapsis</a>, in radians.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitGetMeanAnomalyAtEpoch

**Extends SpaceCenter**

The <a href="https://en.wikipedia.org/wiki/Mean_anomaly">mean anomaly at epoch</a>.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitGetEpoch

**Extends SpaceCenter**

The time since the epoch (the point at which the
<a href="https://en.wikipedia.org/wiki/Mean_anomaly">mean anomaly at epoch</a>
was measured, in seconds.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitGetMeanAnomaly

**Extends SpaceCenter**

The <a href="https://en.wikipedia.org/wiki/Mean_anomaly">mean anomaly</a>.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitGetEccentricAnomaly

**Extends SpaceCenter**

The <a href="https://en.wikipedia.org/wiki/Eccentric_anomaly">eccentric anomaly</a>.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitGetTrueAnomaly

**Extends SpaceCenter**

The <a href="https://en.wikipedia.org/wiki/True_anomaly">true anomaly</a>.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitGetNextOrbit

**Extends SpaceCenter**

If the object is going to change sphere of influence in the future, returns the new
orbit after the change. Otherwise returns null.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitGetTimeToSoiChange

**Extends SpaceCenter**

The time until the object changes sphere of influence, in seconds. Returns NaN
if the object is not going to change sphere of influence.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## orbitGetOrbitalSpeed

**Extends SpaceCenter**

The current orbital speed in meters per second.

**Parameters**

-   `orbit` **Long** A long value representing the id for the SpaceCenter.Orbit

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## antennaTransmit

**Extends SpaceCenter**

Transmit data.

**Parameters**

-   `antenna` **Long** A long value representing the id for the SpaceCenter.Antenna

Returns **void** 

## antennaCancel

**Extends SpaceCenter**

Cancel current transmission of data.

**Parameters**

-   `antenna` **Long** A long value representing the id for the SpaceCenter.Antenna

Returns **void** 

## antennaGetPart

**Extends SpaceCenter**

The part object for this antenna.

**Parameters**

-   `antenna` **Long** A long value representing the id for the SpaceCenter.Antenna

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## antennaGetState

**Extends SpaceCenter**

The current state of the antenna.

**Parameters**

-   `antenna` **Long** A long value representing the id for the SpaceCenter.Antenna

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## antennaGetDeployable

**Extends SpaceCenter**

Whether the antenna is deployable.

**Parameters**

-   `antenna` **Long** A long value representing the id for the SpaceCenter.Antenna

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## antennaGetDeployed

**Extends SpaceCenter**

Whether the antenna is deployed.
 Fixed antennas are always deployed.
Returns an error if you try to deploy a fixed antenna.

**Parameters**

-   `antenna` **Long** A long value representing the id for the SpaceCenter.Antenna

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## antennaSetDeployed

**Extends SpaceCenter**

Whether the antenna is deployed.
 Fixed antennas are always deployed.
Returns an error if you try to deploy a fixed antenna.

**Parameters**

-   `antenna` **Long** A long value representing the id for the SpaceCenter.Antenna
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## antennaGetCanTransmit

**Extends SpaceCenter**

Whether data can be transmitted by this antenna.

**Parameters**

-   `antenna` **Long** A long value representing the id for the SpaceCenter.Antenna

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## antennaGetAllowPartial

**Extends SpaceCenter**

Whether partial data transmission is permitted.

**Parameters**

-   `antenna` **Long** A long value representing the id for the SpaceCenter.Antenna

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## antennaSetAllowPartial

**Extends SpaceCenter**

Whether partial data transmission is permitted.

**Parameters**

-   `antenna` **Long** A long value representing the id for the SpaceCenter.Antenna
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## antennaGetPower

**Extends SpaceCenter**

The power of the antenna.

**Parameters**

-   `antenna` **Long** A long value representing the id for the SpaceCenter.Antenna

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## antennaGetCombinable

**Extends SpaceCenter**

Whether the antenna can be combined with other antennae on the vessel
to boost the power.

**Parameters**

-   `antenna` **Long** A long value representing the id for the SpaceCenter.Antenna

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## antennaGetCombinableExponent

**Extends SpaceCenter**

Exponent used to calculate the combined power of multiple antennae on a vessel.

**Parameters**

-   `antenna` **Long** A long value representing the id for the SpaceCenter.Antenna

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## antennaGetPacketInterval

**Extends SpaceCenter**

Interval between sending packets in seconds.

**Parameters**

-   `antenna` **Long** A long value representing the id for the SpaceCenter.Antenna

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## antennaGetPacketSize

**Extends SpaceCenter**

Amount of data sent per packet in Mits.

**Parameters**

-   `antenna` **Long** A long value representing the id for the SpaceCenter.Antenna

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## antennaGetPacketResourceCost

**Extends SpaceCenter**

Units of electric charge consumed per packet sent.

**Parameters**

-   `antenna` **Long** A long value representing the id for the SpaceCenter.Antenna

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## cargoBayGetPart

**Extends SpaceCenter**

The part object for this cargo bay.

**Parameters**

-   `cargoBay` **Long** A long value representing the id for the SpaceCenter.CargoBay

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## cargoBayGetState

**Extends SpaceCenter**

The state of the cargo bay.

**Parameters**

-   `cargoBay` **Long** A long value representing the id for the SpaceCenter.CargoBay

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## cargoBayGetOpen

**Extends SpaceCenter**

Whether the cargo bay is open.

**Parameters**

-   `cargoBay` **Long** A long value representing the id for the SpaceCenter.CargoBay

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## cargoBaySetOpen

**Extends SpaceCenter**

Whether the cargo bay is open.

**Parameters**

-   `cargoBay` **Long** A long value representing the id for the SpaceCenter.CargoBay
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## controlSurfaceGetPart

**Extends SpaceCenter**

The part object for this control surface.

**Parameters**

-   `controlSurface` **Long** A long value representing the id for the SpaceCenter.ControlSurface

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSurfaceGetPitchEnabled

**Extends SpaceCenter**

Whether the control surface has pitch control enabled.

**Parameters**

-   `controlSurface` **Long** A long value representing the id for the SpaceCenter.ControlSurface

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSurfaceSetPitchEnabled

**Extends SpaceCenter**

Whether the control surface has pitch control enabled.

**Parameters**

-   `controlSurface` **Long** A long value representing the id for the SpaceCenter.ControlSurface
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## controlSurfaceGetYawEnabled

**Extends SpaceCenter**

Whether the control surface has yaw control enabled.

**Parameters**

-   `controlSurface` **Long** A long value representing the id for the SpaceCenter.ControlSurface

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSurfaceSetYawEnabled

**Extends SpaceCenter**

Whether the control surface has yaw control enabled.

**Parameters**

-   `controlSurface` **Long** A long value representing the id for the SpaceCenter.ControlSurface
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## controlSurfaceGetRollEnabled

**Extends SpaceCenter**

Whether the control surface has roll control enabled.

**Parameters**

-   `controlSurface` **Long** A long value representing the id for the SpaceCenter.ControlSurface

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSurfaceSetRollEnabled

**Extends SpaceCenter**

Whether the control surface has roll control enabled.

**Parameters**

-   `controlSurface` **Long** A long value representing the id for the SpaceCenter.ControlSurface
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## controlSurfaceGetAuthorityLimiter

**Extends SpaceCenter**

The authority limiter for the control surface, which controls how far the
control surface will move.

**Parameters**

-   `controlSurface` **Long** A long value representing the id for the SpaceCenter.ControlSurface

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSurfaceSetAuthorityLimiter

**Extends SpaceCenter**

The authority limiter for the control surface, which controls how far the
control surface will move.

**Parameters**

-   `controlSurface` **Long** A long value representing the id for the SpaceCenter.ControlSurface
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## controlSurfaceGetInverted

**Extends SpaceCenter**

Whether the control surface movement is inverted.

**Parameters**

-   `controlSurface` **Long** A long value representing the id for the SpaceCenter.ControlSurface

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSurfaceSetInverted

**Extends SpaceCenter**

Whether the control surface movement is inverted.

**Parameters**

-   `controlSurface` **Long** A long value representing the id for the SpaceCenter.ControlSurface
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## controlSurfaceGetDeployed

**Extends SpaceCenter**

Whether the control surface has been fully deployed.

**Parameters**

-   `controlSurface` **Long** A long value representing the id for the SpaceCenter.ControlSurface

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSurfaceSetDeployed

**Extends SpaceCenter**

Whether the control surface has been fully deployed.

**Parameters**

-   `controlSurface` **Long** A long value representing the id for the SpaceCenter.ControlSurface
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## controlSurfaceGetSurfaceArea

**Extends SpaceCenter**

Surface area of the control surface in <math>m^2</math>.

**Parameters**

-   `controlSurface` **Long** A long value representing the id for the SpaceCenter.ControlSurface

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## controlSurfaceGetAvailableTorque

**Extends SpaceCenter**

The available torque, in Newton meters, that can be produced by this control surface,
in the positive and negative pitch, roll and yaw axes of the vessel. These axes
correspond to the coordinate axes of the [M:SpaceCenter.Vessel.ReferenceFrame](M:SpaceCenter.Vessel.ReferenceFrame).

**Parameters**

-   `controlSurface` **Long** A long value representing the id for the SpaceCenter.ControlSurface

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## decouplerDecouple

**Extends SpaceCenter**

Fires the decoupler. Returns the new vessel created when the decoupler fires.
Throws an exception if the decoupler has already fired.
 When called, the active vessel may change. It is therefore possible that,
after calling this function, the object(s) returned by previous call(s) to
[M:SpaceCenter.ActiveVessel](M:SpaceCenter.ActiveVessel) no longer refer to the active vessel.

**Parameters**

-   `decoupler` **Long** A long value representing the id for the SpaceCenter.Decoupler

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## decouplerGetPart

**Extends SpaceCenter**

The part object for this decoupler.

**Parameters**

-   `decoupler` **Long** A long value representing the id for the SpaceCenter.Decoupler

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## decouplerGetDecoupled

**Extends SpaceCenter**

Whether the decoupler has fired.

**Parameters**

-   `decoupler` **Long** A long value representing the id for the SpaceCenter.Decoupler

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## decouplerGetStaged

**Extends SpaceCenter**

Whether the decoupler is enabled in the staging sequence.

**Parameters**

-   `decoupler` **Long** A long value representing the id for the SpaceCenter.Decoupler

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## decouplerGetImpulse

**Extends SpaceCenter**

The impulse that the decoupler imparts when it is fired, in Newton seconds.

**Parameters**

-   `decoupler` **Long** A long value representing the id for the SpaceCenter.Decoupler

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## dockingPortUndock

**Extends SpaceCenter**

Undocks the docking port and returns the new [T:SpaceCenter.Vessel](T:SpaceCenter.Vessel) that is created.
This method can be called for either docking port in a docked pair.
Throws an exception if the docking port is not docked to anything.
 When called, the active vessel may change. It is therefore possible that,
after calling this function, the object(s) returned by previous call(s) to
[M:SpaceCenter.ActiveVessel](M:SpaceCenter.ActiveVessel) no longer refer to the active vessel.

**Parameters**

-   `dockingPort` **Long** A long value representing the id for the SpaceCenter.DockingPort

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## dockingPortPosition

**Extends SpaceCenter**

The position of the docking port, in the given reference frame.
Returns: The position as a vector.

<param name="referenceFrame">The reference frame that the returned
position vector is in.</param>

**Parameters**

-   `dockingPort` **Long** A long value representing the id for the SpaceCenter.DockingPort
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## dockingPortDirection

**Extends SpaceCenter**

The direction that docking port points in, in the given reference frame.
Returns: The direction as a unit vector.

<param name="referenceFrame">The reference frame that the returned
direction is in.</param>

**Parameters**

-   `dockingPort` **Long** A long value representing the id for the SpaceCenter.DockingPort
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## dockingPortRotation

**Extends SpaceCenter**

The rotation of the docking port, in the given reference frame.
Returns: The rotation as a quaternion of the form <math>(x, y, z, w)</math>.

<param name="referenceFrame">The reference frame that the returned
rotation is in.</param>

**Parameters**

-   `dockingPort` **Long** A long value representing the id for the SpaceCenter.DockingPort
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## dockingPortGetPart

**Extends SpaceCenter**

The part object for this docking port.

**Parameters**

-   `dockingPort` **Long** A long value representing the id for the SpaceCenter.DockingPort

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## dockingPortGetState

**Extends SpaceCenter**

The current state of the docking port.

**Parameters**

-   `dockingPort` **Long** A long value representing the id for the SpaceCenter.DockingPort

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## dockingPortGetDockedPart

**Extends SpaceCenter**

The part that this docking port is docked to. Returns null if this
docking port is not docked to anything.

**Parameters**

-   `dockingPort` **Long** A long value representing the id for the SpaceCenter.DockingPort

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## dockingPortGetReengageDistance

**Extends SpaceCenter**

The distance a docking port must move away when it undocks before it
becomes ready to dock with another port, in meters.

**Parameters**

-   `dockingPort` **Long** A long value representing the id for the SpaceCenter.DockingPort

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## dockingPortGetHasShield

**Extends SpaceCenter**

Whether the docking port has a shield.

**Parameters**

-   `dockingPort` **Long** A long value representing the id for the SpaceCenter.DockingPort

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## dockingPortGetShielded

**Extends SpaceCenter**

The state of the docking ports shield, if it has one.

Returns true if the docking port has a shield, and the shield is
closed. Otherwise returns false. When set to true, the shield is
closed, and when set to false the shield is opened. If the docking
port does not have a shield, setting this attribute has no effect.

**Parameters**

-   `dockingPort` **Long** A long value representing the id for the SpaceCenter.DockingPort

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## dockingPortSetShielded

**Extends SpaceCenter**

The state of the docking ports shield, if it has one.

Returns true if the docking port has a shield, and the shield is
closed. Otherwise returns false. When set to true, the shield is
closed, and when set to false the shield is opened. If the docking
port does not have a shield, setting this attribute has no effect.

**Parameters**

-   `dockingPort` **Long** A long value representing the id for the SpaceCenter.DockingPort
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## dockingPortGetReferenceFrame

**Extends SpaceCenter**

The reference frame that is fixed relative to this docking port, and
oriented with the port.
<list type="bullet"><item><description>The origin is at the position of the docking port.
</description></item><item><description>The axes rotate with the docking port.</description></item><item><description>The x-axis points out to the right side of the docking port.
</description></item><item><description>The y-axis points in the direction the docking port is facing.
</description></item><item><description>The z-axis points out of the bottom off the docking port.
</description></item></list><remarks>
This reference frame is not necessarily equivalent to the reference frame
for the part, returned by [M:SpaceCenter.Part.ReferenceFrame](M:SpaceCenter.Part.ReferenceFrame).

**Parameters**

-   `dockingPort` **Long** A long value representing the id for the SpaceCenter.DockingPort

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## engineToggleMode

**Extends SpaceCenter**

Toggle the current engine mode.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine

Returns **void** 

## engineGetPart

**Extends SpaceCenter**

The part object for this engine.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## engineGetActive

**Extends SpaceCenter**

Whether the engine is active. Setting this attribute may have no effect,
depending on [M:SpaceCenter.Engine.CanShutdown](M:SpaceCenter.Engine.CanShutdown) and [M:SpaceCenter.Engine.CanRestart](M:SpaceCenter.Engine.CanRestart).

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## engineSetActive

**Extends SpaceCenter**

Whether the engine is active. Setting this attribute may have no effect,
depending on [M:SpaceCenter.Engine.CanShutdown](M:SpaceCenter.Engine.CanShutdown) and [M:SpaceCenter.Engine.CanRestart](M:SpaceCenter.Engine.CanRestart).

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## engineGetThrust

**Extends SpaceCenter**

The current amount of thrust being produced by the engine, in Newtons.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## engineGetAvailableThrust

**Extends SpaceCenter**

The amount of thrust, in Newtons, that would be produced by the engine
when activated and with its throttle set to 100%.
Returns zero if the engine does not have any fuel.
Takes the engine's current [M:SpaceCenter.Engine.ThrustLimit](M:SpaceCenter.Engine.ThrustLimit) and atmospheric conditions
into account.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## engineGetMaxThrust

**Extends SpaceCenter**

The amount of thrust, in Newtons, that would be produced by the engine
when activated and fueled, with its throttle and throttle limiter set to 100%.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## engineGetMaxVacuumThrust

**Extends SpaceCenter**

The maximum amount of thrust that can be produced by the engine in a
vacuum, in Newtons. This is the amount of thrust produced by the engine
when activated, [M:SpaceCenter.Engine.ThrustLimit](M:SpaceCenter.Engine.ThrustLimit) is set to 100%, the main
vessel's throttle is set to 100% and the engine is in a vacuum.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## engineGetThrustLimit

**Extends SpaceCenter**

The thrust limiter of the engine. A value between 0 and 1. Setting this
attribute may have no effect, for example the thrust limit for a solid
rocket booster cannot be changed in flight.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## engineSetThrustLimit

**Extends SpaceCenter**

The thrust limiter of the engine. A value between 0 and 1. Setting this
attribute may have no effect, for example the thrust limit for a solid
rocket booster cannot be changed in flight.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## engineGetThrusters

**Extends SpaceCenter**

The components of the engine that generate thrust.
 For example, this corresponds to the rocket nozzel on a solid rocket booster,
or the individual nozzels on a RAPIER engine.
The overall thrust produced by the engine, as reported by [M:SpaceCenter.Engine.AvailableThrust](M:SpaceCenter.Engine.AvailableThrust),
[M:SpaceCenter.Engine.MaxThrust](M:SpaceCenter.Engine.MaxThrust) and others, is the sum of the thrust generated by each thruster.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## engineGetSpecificImpulse

**Extends SpaceCenter**

The current specific impulse of the engine, in seconds. Returns zero
if the engine is not active.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## engineGetVacuumSpecificImpulse

**Extends SpaceCenter**

The vacuum specific impulse of the engine, in seconds.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## engineGetKerbinSeaLevelSpecificImpulse

**Extends SpaceCenter**

The specific impulse of the engine at sea level on Kerbin, in seconds.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## engineGetPropellantNames

**Extends SpaceCenter**

The names of the propellants that the engine consumes.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## engineGetPropellants

**Extends SpaceCenter**

The propellants that the engine consumes.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## engineGetPropellantRatios

**Extends SpaceCenter**

The ratio of resources that the engine consumes. A dictionary mapping resource names
to the ratio at which they are consumed by the engine.
 For example, if the ratios are 0.6 for LiquidFuel and 0.4 for Oxidizer, then for every
0.6 units of LiquidFuel that the engine burns, it will burn 0.4 units of Oxidizer.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## engineGetHasFuel

**Extends SpaceCenter**

Whether the engine has any fuel available.
 The engine must be activated for this property to update correctly.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## engineGetThrottle

**Extends SpaceCenter**

The current throttle setting for the engine. A value between 0 and 1.
This is not necessarily the same as the vessel's main throttle
setting, as some engines take time to adjust their throttle
(such as jet engines).

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## engineGetThrottleLocked

**Extends SpaceCenter**

Whether the [M:SpaceCenter.Control.Throttle](M:SpaceCenter.Control.Throttle) affects the engine. For example,
this is true for liquid fueled rockets, and false for solid rocket
boosters.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## engineGetCanRestart

**Extends SpaceCenter**

Whether the engine can be restarted once shutdown. If the engine cannot be shutdown,
returns false. For example, this is true for liquid fueled rockets
and false for solid rocket boosters.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## engineGetCanShutdown

**Extends SpaceCenter**

Whether the engine can be shutdown once activated. For example, this is
true for liquid fueled rockets and false for solid rocket boosters.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## engineGetHasModes

**Extends SpaceCenter**

Whether the engine has multiple modes of operation.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## engineGetMode

**Extends SpaceCenter**

The name of the current engine mode.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## engineSetMode

**Extends SpaceCenter**

The name of the current engine mode.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine
-   `value` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 

Returns **void** 

## engineGetModes

**Extends SpaceCenter**

The available modes for the engine.
A dictionary mapping mode names to [T:SpaceCenter.Engine](T:SpaceCenter.Engine) objects.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## engineGetAutoModeSwitch

**Extends SpaceCenter**

Whether the engine will automatically switch modes.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## engineSetAutoModeSwitch

**Extends SpaceCenter**

Whether the engine will automatically switch modes.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## engineGetGimballed

**Extends SpaceCenter**

Whether the engine is gimballed.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## engineGetGimbalRange

**Extends SpaceCenter**

The range over which the gimbal can move, in degrees.
Returns 0 if the engine is not gimballed.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## engineGetGimbalLocked

**Extends SpaceCenter**

Whether the engines gimbal is locked in place. Setting this attribute has
no effect if the engine is not gimballed.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## engineSetGimbalLocked

**Extends SpaceCenter**

Whether the engines gimbal is locked in place. Setting this attribute has
no effect if the engine is not gimballed.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## engineGetGimbalLimit

**Extends SpaceCenter**

The gimbal limiter of the engine. A value between 0 and 1.
Returns 0 if the gimbal is locked.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## engineSetGimbalLimit

**Extends SpaceCenter**

The gimbal limiter of the engine. A value between 0 and 1.
Returns 0 if the gimbal is locked.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## engineGetAvailableTorque

**Extends SpaceCenter**

The available torque, in Newton meters, that can be produced by this engine,
in the positive and negative pitch, roll and yaw axes of the vessel. These axes
correspond to the coordinate axes of the [M:SpaceCenter.Vessel.ReferenceFrame](M:SpaceCenter.Vessel.ReferenceFrame).
Returns zero if the engine is inactive, or not gimballed.

**Parameters**

-   `engine` **Long** A long value representing the id for the SpaceCenter.Engine

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## experimentRun

**Extends SpaceCenter**

Run the experiment.

**Parameters**

-   `experiment` **Long** A long value representing the id for the SpaceCenter.Experiment

Returns **void** 

## experimentTransmit

**Extends SpaceCenter**

Transmit all experimental data contained by this part.

**Parameters**

-   `experiment` **Long** A long value representing the id for the SpaceCenter.Experiment

Returns **void** 

## experimentDump

**Extends SpaceCenter**

Dump the experimental data contained by the experiment.

**Parameters**

-   `experiment` **Long** A long value representing the id for the SpaceCenter.Experiment

Returns **void** 

## experimentReset

**Extends SpaceCenter**

Reset the experiment.

**Parameters**

-   `experiment` **Long** A long value representing the id for the SpaceCenter.Experiment

Returns **void** 

## experimentGetPart

**Extends SpaceCenter**

The part object for this experiment.

**Parameters**

-   `experiment` **Long** A long value representing the id for the SpaceCenter.Experiment

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## experimentGetInoperable

**Extends SpaceCenter**

Whether the experiment is inoperable.

**Parameters**

-   `experiment` **Long** A long value representing the id for the SpaceCenter.Experiment

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## experimentGetDeployed

**Extends SpaceCenter**

Whether the experiment has been deployed.

**Parameters**

-   `experiment` **Long** A long value representing the id for the SpaceCenter.Experiment

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## experimentGetRerunnable

**Extends SpaceCenter**

Whether the experiment can be re-run.

**Parameters**

-   `experiment` **Long** A long value representing the id for the SpaceCenter.Experiment

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## experimentGetHasData

**Extends SpaceCenter**

Whether the experiment contains data.

**Parameters**

-   `experiment` **Long** A long value representing the id for the SpaceCenter.Experiment

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## experimentGetData

**Extends SpaceCenter**

The data contained in this experiment.

**Parameters**

-   `experiment` **Long** A long value representing the id for the SpaceCenter.Experiment

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## experimentGetAvailable

**Extends SpaceCenter**

Determines if the experiment is available given the current conditions.

**Parameters**

-   `experiment` **Long** A long value representing the id for the SpaceCenter.Experiment

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## experimentGetBiome

**Extends SpaceCenter**

The name of the biome the experiment is currently in.

**Parameters**

-   `experiment` **Long** A long value representing the id for the SpaceCenter.Experiment

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## experimentGetScienceSubject

**Extends SpaceCenter**

Containing information on the corresponding specific science result for the current
conditions. Returns null if the experiment is unavailable.

**Parameters**

-   `experiment` **Long** A long value representing the id for the SpaceCenter.Experiment

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## fairingJettison

**Extends SpaceCenter**

Jettison the fairing. Has no effect if it has already been jettisoned.

**Parameters**

-   `fairing` **Long** A long value representing the id for the SpaceCenter.Fairing

Returns **void** 

## fairingGetPart

**Extends SpaceCenter**

The part object for this fairing.

**Parameters**

-   `fairing` **Long** A long value representing the id for the SpaceCenter.Fairing

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## fairingGetJettisoned

**Extends SpaceCenter**

Whether the fairing has been jettisoned.

**Parameters**

-   `fairing` **Long** A long value representing the id for the SpaceCenter.Fairing

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## forceRemove

**Extends SpaceCenter**

Remove the force.

**Parameters**

-   `force` **Long** A long value representing the id for the SpaceCenter.Force

Returns **void** 

## forceGetPart

**Extends SpaceCenter**

The part that this force is applied to.

**Parameters**

-   `force` **Long** A long value representing the id for the SpaceCenter.Force

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## forceGetForceVector

**Extends SpaceCenter**

The force vector, in Newtons.
Returns: A vector pointing in the direction that the force acts,
with its magnitude equal to the strength of the force in Newtons.

**Parameters**

-   `force` **Long** A long value representing the id for the SpaceCenter.Force

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## forceSetForceVector

**Extends SpaceCenter**

The force vector, in Newtons.
Returns: A vector pointing in the direction that the force acts,
with its magnitude equal to the strength of the force in Newtons.

**Parameters**

-   `force` **Long** A long value representing the id for the SpaceCenter.Force
-   `value` **{number, number, number}** 

Returns **void** 

## forceGetPosition

**Extends SpaceCenter**

The position at which the force acts, in reference frame [T:SpaceCenter.ReferenceFrame](T:SpaceCenter.ReferenceFrame).
Returns: The position as a vector.

**Parameters**

-   `force` **Long** A long value representing the id for the SpaceCenter.Force

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## forceSetPosition

**Extends SpaceCenter**

The position at which the force acts, in reference frame [T:SpaceCenter.ReferenceFrame](T:SpaceCenter.ReferenceFrame).
Returns: The position as a vector.

**Parameters**

-   `force` **Long** A long value representing the id for the SpaceCenter.Force
-   `value` **{number, number, number}** 

Returns **void** 

## forceGetReferenceFrame

**Extends SpaceCenter**

The reference frame of the force vector and position.

**Parameters**

-   `force` **Long** A long value representing the id for the SpaceCenter.Force

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## forceSetReferenceFrame

**Extends SpaceCenter**

The reference frame of the force vector and position.

**Parameters**

-   `force` **Long** A long value representing the id for the SpaceCenter.Force
-   `value` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **void** 

## intakeGetPart

**Extends SpaceCenter**

The part object for this intake.

**Parameters**

-   `intake` **Long** A long value representing the id for the SpaceCenter.Intake

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## intakeGetOpen

**Extends SpaceCenter**

Whether the intake is open.

**Parameters**

-   `intake` **Long** A long value representing the id for the SpaceCenter.Intake

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## intakeSetOpen

**Extends SpaceCenter**

Whether the intake is open.

**Parameters**

-   `intake` **Long** A long value representing the id for the SpaceCenter.Intake
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## intakeGetSpeed

**Extends SpaceCenter**

Speed of the flow into the intake, in <math>m/s</math>.

**Parameters**

-   `intake` **Long** A long value representing the id for the SpaceCenter.Intake

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## intakeGetFlow

**Extends SpaceCenter**

The rate of flow into the intake, in units of resource per second.

**Parameters**

-   `intake` **Long** A long value representing the id for the SpaceCenter.Intake

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## intakeGetArea

**Extends SpaceCenter**

The area of the intake's opening, in square meters.

**Parameters**

-   `intake` **Long** A long value representing the id for the SpaceCenter.Intake

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## launchClampRelease

**Extends SpaceCenter**

Releases the docking clamp. Has no effect if the clamp has already been released.

**Parameters**

-   `launchClamp` **Long** A long value representing the id for the SpaceCenter.LaunchClamp

Returns **void** 

## launchClampGetPart

**Extends SpaceCenter**

The part object for this launch clamp.

**Parameters**

-   `launchClamp` **Long** A long value representing the id for the SpaceCenter.LaunchClamp

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## legGetPart

**Extends SpaceCenter**

The part object for this landing leg.

**Parameters**

-   `leg` **Long** A long value representing the id for the SpaceCenter.Leg

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## legGetState

**Extends SpaceCenter**

The current state of the landing leg.

**Parameters**

-   `leg` **Long** A long value representing the id for the SpaceCenter.Leg

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## legGetDeployable

**Extends SpaceCenter**

Whether the leg is deployable.

**Parameters**

-   `leg` **Long** A long value representing the id for the SpaceCenter.Leg

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## legGetDeployed

**Extends SpaceCenter**

Whether the landing leg is deployed.
 Fixed landing legs are always deployed.
Returns an error if you try to deploy fixed landing gear.

**Parameters**

-   `leg` **Long** A long value representing the id for the SpaceCenter.Leg

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## legSetDeployed

**Extends SpaceCenter**

Whether the landing leg is deployed.
 Fixed landing legs are always deployed.
Returns an error if you try to deploy fixed landing gear.

**Parameters**

-   `leg` **Long** A long value representing the id for the SpaceCenter.Leg
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## legGetIsGrounded

**Extends SpaceCenter**

Returns whether the leg is touching the ground.

**Parameters**

-   `leg` **Long** A long value representing the id for the SpaceCenter.Leg

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## lightGetPart

**Extends SpaceCenter**

The part object for this light.

**Parameters**

-   `light` **Long** A long value representing the id for the SpaceCenter.Light

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## lightGetActive

**Extends SpaceCenter**

Whether the light is switched on.

**Parameters**

-   `light` **Long** A long value representing the id for the SpaceCenter.Light

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## lightSetActive

**Extends SpaceCenter**

Whether the light is switched on.

**Parameters**

-   `light` **Long** A long value representing the id for the SpaceCenter.Light
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## lightGetColor

**Extends SpaceCenter**

The color of the light, as an RGB triple.

**Parameters**

-   `light` **Long** A long value representing the id for the SpaceCenter.Light

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## lightSetColor

**Extends SpaceCenter**

The color of the light, as an RGB triple.

**Parameters**

-   `light` **Long** A long value representing the id for the SpaceCenter.Light
-   `value` **{number, number, number}** 

Returns **void** 

## lightGetPowerUsage

**Extends SpaceCenter**

The current power usage, in units of charge per second.

**Parameters**

-   `light` **Long** A long value representing the id for the SpaceCenter.Light

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## moduleHasField

**Extends SpaceCenter**

Returns true if the module has a field with the given name.

**Parameters**

-   `module` **Long** A long value representing the id for the SpaceCenter.Module
-   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** Name of the field.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## moduleGetField

**Extends SpaceCenter**

Returns the value of a field.

**Parameters**

-   `module` **Long** A long value representing the id for the SpaceCenter.Module
-   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** Name of the field.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## moduleSetFieldInt

**Extends SpaceCenter**

Set the value of a field to the given integer number.

**Parameters**

-   `module` **Long** A long value representing the id for the SpaceCenter.Module
-   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** Name of the field.
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Value to set.

Returns **void** 

## moduleSetFieldFloat

**Extends SpaceCenter**

Set the value of a field to the given floating point number.

**Parameters**

-   `module` **Long** A long value representing the id for the SpaceCenter.Module
-   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** Name of the field.
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Value to set.

Returns **void** 

## moduleSetFieldString

**Extends SpaceCenter**

Set the value of a field to the given string.

**Parameters**

-   `module` **Long** A long value representing the id for the SpaceCenter.Module
-   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** Name of the field.
-   `value` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** Value to set.

Returns **void** 

## moduleResetField

**Extends SpaceCenter**

Set the value of a field to its original value.

**Parameters**

-   `module` **Long** A long value representing the id for the SpaceCenter.Module
-   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** Name of the field.

Returns **void** 

## moduleHasEvent

**Extends SpaceCenter**

<summary>true if the module has an event with the given name.

**Parameters**

-   `module` **Long** A long value representing the id for the SpaceCenter.Module
-   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## moduleTriggerEvent

**Extends SpaceCenter**

Trigger the named event. Equivalent to clicking the button in the right-click menu
of the part.

**Parameters**

-   `module` **Long** A long value representing the id for the SpaceCenter.Module
-   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 

Returns **void** 

## moduleHasAction

**Extends SpaceCenter**

<summary>true if the part has an action with the given name.

**Parameters**

-   `module` **Long** A long value representing the id for the SpaceCenter.Module
-   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## moduleSetAction

**Extends SpaceCenter**

Set the value of an action with the given name.

**Parameters**

-   `module` **Long** A long value representing the id for the SpaceCenter.Module
-   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## moduleGetName

**Extends SpaceCenter**

Name of the PartModule. For example, "ModuleEngines".

**Parameters**

-   `module` **Long** A long value representing the id for the SpaceCenter.Module

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## moduleGetPart

**Extends SpaceCenter**

The part that contains this module.

**Parameters**

-   `module` **Long** A long value representing the id for the SpaceCenter.Module

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## moduleGetFields

**Extends SpaceCenter**

The modules field names and their associated values, as a dictionary.
These are the values visible in the right-click menu of the part.

**Parameters**

-   `module` **Long** A long value representing the id for the SpaceCenter.Module

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## moduleGetEvents

**Extends SpaceCenter**

A list of the names of all of the modules events. Events are the clickable buttons
visible in the right-click menu of the part.

**Parameters**

-   `module` **Long** A long value representing the id for the SpaceCenter.Module

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## moduleGetActions

**Extends SpaceCenter**

A list of all the names of the modules actions. These are the parts actions that can
be assigned to action groups in the in-game editor.

**Parameters**

-   `module` **Long** A long value representing the id for the SpaceCenter.Module

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## parachuteDeploy

**Extends SpaceCenter**

Deploys the parachute. This has no effect if the parachute has already
been deployed.

**Parameters**

-   `parachute` **Long** A long value representing the id for the SpaceCenter.Parachute

Returns **void** 

## parachuteArm

**Extends SpaceCenter**

Deploys the parachute. This has no effect if the parachute has already
been armed or deployed. Only applicable to RealChutes parachutes.

**Parameters**

-   `parachute` **Long** A long value representing the id for the SpaceCenter.Parachute

Returns **void** 

## parachuteGetPart

**Extends SpaceCenter**

The part object for this parachute.

**Parameters**

-   `parachute` **Long** A long value representing the id for the SpaceCenter.Parachute

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## parachuteGetDeployed

**Extends SpaceCenter**

Whether the parachute has been deployed.

**Parameters**

-   `parachute` **Long** A long value representing the id for the SpaceCenter.Parachute

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## parachuteGetArmed

**Extends SpaceCenter**

Whether the parachute has been armed or deployed. Only applicable to
RealChutes parachutes.

**Parameters**

-   `parachute` **Long** A long value representing the id for the SpaceCenter.Parachute

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## parachuteGetState

**Extends SpaceCenter**

The current state of the parachute.

**Parameters**

-   `parachute` **Long** A long value representing the id for the SpaceCenter.Parachute

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## parachuteGetDeployAltitude

**Extends SpaceCenter**

The altitude at which the parachute will full deploy, in meters.
Only applicable to stock parachutes.

**Parameters**

-   `parachute` **Long** A long value representing the id for the SpaceCenter.Parachute

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## parachuteSetDeployAltitude

**Extends SpaceCenter**

The altitude at which the parachute will full deploy, in meters.
Only applicable to stock parachutes.

**Parameters**

-   `parachute` **Long** A long value representing the id for the SpaceCenter.Parachute
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## parachuteGetDeployMinPressure

**Extends SpaceCenter**

The minimum pressure at which the parachute will semi-deploy, in atmospheres.
Only applicable to stock parachutes.

**Parameters**

-   `parachute` **Long** A long value representing the id for the SpaceCenter.Parachute

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## parachuteSetDeployMinPressure

**Extends SpaceCenter**

The minimum pressure at which the parachute will semi-deploy, in atmospheres.
Only applicable to stock parachutes.

**Parameters**

-   `parachute` **Long** A long value representing the id for the SpaceCenter.Parachute
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## partPosition

**Extends SpaceCenter**

The position of the part in the given reference frame.
Returns: The position as a vector.

<param name="referenceFrame">The reference frame that the returned
position vector is in.</param>
 This is a fixed position in the part, defined by the parts model.
It s not necessarily the same as the parts center of mass.
Use {@link M:SpaceCenter.Part.CenterOfMass} to get the parts center of mass.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partCenterOfMass

**Extends SpaceCenter**

The position of the parts center of mass in the given reference frame.
If the part is physicsless, this is equivalent to [M:SpaceCenter.Part.Position](M:SpaceCenter.Part.Position).
Returns: The position as a vector.

<param name="referenceFrame">The reference frame that the returned
position vector is in.</param>

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partBoundingBox

**Extends SpaceCenter**

The axis-aligned bounding box of the part in the given reference frame.
Returns: The positions of the minimum and maximum vertices of the box,
as position vectors.

<param name="referenceFrame">The reference frame that the returned
position vectors are in.</param>
 This is computed from the collision mesh of the part.
If the part is not collidable, the box has zero volume and is centered on
the {@link M:SpaceCenter.Part.Position} of the part.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partDirection

**Extends SpaceCenter**

The direction the part points in, in the given reference frame.
Returns: The direction as a unit vector.

<param name="referenceFrame">The reference frame that the returned
direction is in.</param>

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partVelocity

**Extends SpaceCenter**

The linear velocity of the part in the given reference frame.
Returns: The velocity as a vector. The vector points in the direction of travel,
and its magnitude is the speed of the body in meters per second.

<param name="referenceFrame">The reference frame that the returned
velocity vector is in.</param>

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partRotation

**Extends SpaceCenter**

The rotation of the part, in the given reference frame.
Returns: The rotation as a quaternion of the form <math>(x, y, z, w)</math>.

<param name="referenceFrame">The reference frame that the returned
rotation is in.</param>

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partAddForce

**Extends SpaceCenter**

Exert a constant force on the part, acting at the given position.
Returns: An object that can be used to remove or modify the force.

<param name="force">A vector pointing in the direction that the force acts,
with its magnitude equal to the strength of the force in Newtons.</param>

<param name="referenceFrame">The reference frame that the
force and position are in.</param>

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part
-   `force` **{number, number, number}** A vector pointing in the direction that the force acts,
    with its magnitude equal to the strength of the force in Newtons.
-   `position` **{number, number, number}** The position at which the force acts, as a vector.
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partInstantaneousForce

**Extends SpaceCenter**

Exert an instantaneous force on the part, acting at the given position.

<param name="force">A vector pointing in the direction that the force acts,
with its magnitude equal to the strength of the force in Newtons.</param>

<param name="referenceFrame">The reference frame that the
force and position are in.</param>
<remarks>The force is applied instantaneously in a single physics update.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part
-   `force` **{number, number, number}** A vector pointing in the direction that the force acts,
    with its magnitude equal to the strength of the force in Newtons.
-   `position` **{number, number, number}** The position at which the force acts, as a vector.
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **void** 

## partGetName

**Extends SpaceCenter**

Internal name of the part, as used in
<a href="https://wiki.kerbalspaceprogram.com/wiki/CFG_File_Documentation">part cfg files</a>.
For example "Mark1-2Pod".

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetTitle

**Extends SpaceCenter**

Title of the part, as shown when the part is right clicked in-game. For example "Mk1-2 Command Pod".

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetTag

**Extends SpaceCenter**

The name tag for the part. Can be set to a custom string using the
in-game user interface.
 This requires either the
<a href="https://github.com/krpc/NameTag/releases/latest">NameTag</a> or
<a href="https://forum.kerbalspaceprogram.com/index.php?/topic/61827-/">kOS</a>
mod to be installed.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partSetTag

**Extends SpaceCenter**

The name tag for the part. Can be set to a custom string using the
in-game user interface.
 This requires either the
<a href="https://github.com/krpc/NameTag/releases/latest">NameTag</a> or
<a href="https://forum.kerbalspaceprogram.com/index.php?/topic/61827-/">kOS</a>
mod to be installed.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part
-   `value` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 

Returns **void** 

## partGetHighlighted

**Extends SpaceCenter**

Whether the part is highlighted.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partSetHighlighted

**Extends SpaceCenter**

Whether the part is highlighted.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## partGetHighlightColor

**Extends SpaceCenter**

The color used to highlight the part, as an RGB triple.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partSetHighlightColor

**Extends SpaceCenter**

The color used to highlight the part, as an RGB triple.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part
-   `value` **{number, number, number}** 

Returns **void** 

## partGetCost

**Extends SpaceCenter**

The cost of the part, in units of funds.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetVessel

**Extends SpaceCenter**

The vessel that contains this part.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetParent

**Extends SpaceCenter**

The parts parent. Returns null if the part does not have a parent.
This, in combination with [M:SpaceCenter.Part.Children](M:SpaceCenter.Part.Children), can be used to traverse the vessels
parts tree.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetChildren

**Extends SpaceCenter**

The parts children. Returns an empty list if the part has no children.
This, in combination with [M:SpaceCenter.Part.Parent](M:SpaceCenter.Part.Parent), can be used to traverse the vessels
parts tree.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetAxiallyAttached

**Extends SpaceCenter**

Whether the part is axially attached to its parent, i.e. on the top
or bottom of its parent. If the part has no parent, returns false.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetRadiallyAttached

**Extends SpaceCenter**

Whether the part is radially attached to its parent, i.e. on the side of its parent.
If the part has no parent, returns false.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetStage

**Extends SpaceCenter**

The stage in which this part will be activated. Returns -1 if the part is not
activated by staging.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetDecoupleStage

**Extends SpaceCenter**

The stage in which this part will be decoupled. Returns -1 if the part is never
decoupled from the vessel.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetMassless

**Extends SpaceCenter**

Whether the part is
<a href="https://wiki.kerbalspaceprogram.com/wiki/Massless_part">massless</a>.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetMass

**Extends SpaceCenter**

The current mass of the part, including resources it contains, in kilograms.
Returns zero if the part is massless.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetDryMass

**Extends SpaceCenter**

The mass of the part, not including any resources it contains, in kilograms.
Returns zero if the part is massless.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetShielded

**Extends SpaceCenter**

Whether the part is shielded from the exterior of the vessel, for example by a fairing.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetDynamicPressure

**Extends SpaceCenter**

The dynamic pressure acting on the part, in Pascals.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetImpactTolerance

**Extends SpaceCenter**

The impact tolerance of the part, in meters per second.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetTemperature

**Extends SpaceCenter**

Temperature of the part, in Kelvin.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetSkinTemperature

**Extends SpaceCenter**

Temperature of the skin of the part, in Kelvin.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetMaxTemperature

**Extends SpaceCenter**

Maximum temperature that the part can survive, in Kelvin.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetMaxSkinTemperature

**Extends SpaceCenter**

Maximum temperature that the skin of the part can survive, in Kelvin.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetThermalMass

**Extends SpaceCenter**

A measure of how much energy it takes to increase the internal temperature of the part,
in Joules per Kelvin.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetThermalSkinMass

**Extends SpaceCenter**

A measure of how much energy it takes to increase the skin temperature of the part,
in Joules per Kelvin.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetThermalResourceMass

**Extends SpaceCenter**

A measure of how much energy it takes to increase the temperature of the resources
contained in the part, in Joules per Kelvin.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetThermalInternalFlux

**Extends SpaceCenter**

The rate at which heat energy is begin generated by the part.
For example, some engines generate heat by combusting fuel.
Measured in energy per unit time, or power, in Watts.
A positive value means the part is gaining heat energy, and negative means it is losing
heat energy.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetThermalConductionFlux

**Extends SpaceCenter**

The rate at which heat energy is conducting into or out of the part via contact with
other parts. Measured in energy per unit time, or power, in Watts.
A positive value means the part is gaining heat energy, and negative means it is
losing heat energy.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetThermalConvectionFlux

**Extends SpaceCenter**

The rate at which heat energy is convecting into or out of the part from the
surrounding atmosphere. Measured in energy per unit time, or power, in Watts.
A positive value means the part is gaining heat energy, and negative means it is
losing heat energy.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetThermalRadiationFlux

**Extends SpaceCenter**

The rate at which heat energy is radiating into or out of the part from the surrounding
environment. Measured in energy per unit time, or power, in Watts.
A positive value means the part is gaining heat energy, and negative means it is
losing heat energy.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetThermalSkinToInternalFlux

**Extends SpaceCenter**

The rate at which heat energy is transferring between the part's skin and its internals.
Measured in energy per unit time, or power, in Watts.
A positive value means the part's internals are gaining heat energy,
and negative means its skin is gaining heat energy.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetResources

**Extends SpaceCenter**

A [T:SpaceCenter.Resources](T:SpaceCenter.Resources) object for the part.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetCrossfeed

**Extends SpaceCenter**

Whether this part is crossfeed capable.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetIsFuelLine

**Extends SpaceCenter**

Whether this part is a fuel line.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetFuelLinesFrom

**Extends SpaceCenter**

The parts that are connected to this part via fuel lines, where the direction of the
fuel line is into this part.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetFuelLinesTo

**Extends SpaceCenter**

The parts that are connected to this part via fuel lines, where the direction of the
fuel line is out of this part.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetModules

**Extends SpaceCenter**

The modules for this part.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetAntenna

**Extends SpaceCenter**

A [T:SpaceCenter.Antenna](T:SpaceCenter.Antenna) if the part is an antenna, otherwise null.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetCargoBay

**Extends SpaceCenter**

A [T:SpaceCenter.CargoBay](T:SpaceCenter.CargoBay) if the part is a cargo bay, otherwise null.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetControlSurface

**Extends SpaceCenter**

A [T:SpaceCenter.ControlSurface](T:SpaceCenter.ControlSurface) if the part is an aerodynamic control surface,
otherwise null.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetDecoupler

**Extends SpaceCenter**

A [T:SpaceCenter.Decoupler](T:SpaceCenter.Decoupler) if the part is a decoupler, otherwise null.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetDockingPort

**Extends SpaceCenter**

A [T:SpaceCenter.DockingPort](T:SpaceCenter.DockingPort) if the part is a docking port, otherwise null.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetEngine

**Extends SpaceCenter**

An [T:SpaceCenter.Engine](T:SpaceCenter.Engine) if the part is an engine, otherwise null.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetExperiment

**Extends SpaceCenter**

An [T:SpaceCenter.Experiment](T:SpaceCenter.Experiment) if the part is a science experiment, otherwise null.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetFairing

**Extends SpaceCenter**

A [T:SpaceCenter.Fairing](T:SpaceCenter.Fairing) if the part is a fairing, otherwise null.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetIntake

**Extends SpaceCenter**

An [T:SpaceCenter.Intake](T:SpaceCenter.Intake) if the part is an intake, otherwise null.
 This includes any part that generates thrust. This covers many different types
of engine, including liquid fuel rockets, solid rocket boosters and jet engines.
For RCS thrusters see [T:SpaceCenter.RCS](T:SpaceCenter.RCS).

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetLeg

**Extends SpaceCenter**

A [T:SpaceCenter.Leg](T:SpaceCenter.Leg) if the part is a landing leg, otherwise null.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetLaunchClamp

**Extends SpaceCenter**

A [T:SpaceCenter.LaunchClamp](T:SpaceCenter.LaunchClamp) if the part is a launch clamp, otherwise null.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetLight

**Extends SpaceCenter**

A [T:SpaceCenter.Light](T:SpaceCenter.Light) if the part is a light, otherwise null.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetParachute

**Extends SpaceCenter**

A [T:SpaceCenter.Parachute](T:SpaceCenter.Parachute) if the part is a parachute, otherwise null.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetRadiator

**Extends SpaceCenter**

A [T:SpaceCenter.Radiator](T:SpaceCenter.Radiator) if the part is a radiator, otherwise null.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetRcs

**Extends SpaceCenter**

A [T:SpaceCenter.RCS](T:SpaceCenter.RCS) if the part is an RCS block/thruster, otherwise null.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetReactionWheel

**Extends SpaceCenter**

A [T:SpaceCenter.ReactionWheel](T:SpaceCenter.ReactionWheel) if the part is a reaction wheel, otherwise null.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetResourceConverter

**Extends SpaceCenter**

A [T:SpaceCenter.ResourceConverter](T:SpaceCenter.ResourceConverter) if the part is a resource converter,
otherwise null.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetResourceHarvester

**Extends SpaceCenter**

A [T:SpaceCenter.ResourceHarvester](T:SpaceCenter.ResourceHarvester) if the part is a resource harvester,
otherwise null.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetSensor

**Extends SpaceCenter**

A [T:SpaceCenter.Sensor](T:SpaceCenter.Sensor) if the part is a sensor, otherwise null.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetSolarPanel

**Extends SpaceCenter**

A [T:SpaceCenter.SolarPanel](T:SpaceCenter.SolarPanel) if the part is a solar panel, otherwise null.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetWheel

**Extends SpaceCenter**

A [T:SpaceCenter.Wheel](T:SpaceCenter.Wheel) if the part is a wheel, otherwise null.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetMomentOfInertia

**Extends SpaceCenter**

The moment of inertia of the part in <math>kg.m^2</math> around its center of mass
in the parts reference frame ([T:SpaceCenter.ReferenceFrame](T:SpaceCenter.ReferenceFrame)).

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetInertiaTensor

**Extends SpaceCenter**

The inertia tensor of the part in the parts reference frame
([T:SpaceCenter.ReferenceFrame](T:SpaceCenter.ReferenceFrame)).
Returns the 3x3 matrix as a list of elements, in row-major order.

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetReferenceFrame

**Extends SpaceCenter**

The reference frame that is fixed relative to this part, and centered on a fixed
position within the part, defined by the parts model.
<list type="bullet"><item><description>The origin is at the position of the part, as returned by
[M:SpaceCenter.Part.Position](M:SpaceCenter.Part.Position).</description></item><item><description>The axes rotate with the part.</description></item><item><description>The x, y and z axis directions depend on the design of the part.
</description></item></list><remarks>
For docking port parts, this reference frame is not necessarily equivalent to the
reference frame for the docking port, returned by
[M:SpaceCenter.DockingPort.ReferenceFrame](M:SpaceCenter.DockingPort.ReferenceFrame).

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partGetCenterOfMassReferenceFrame

**Extends SpaceCenter**

The reference frame that is fixed relative to this part, and centered on its
center of mass.
<list type="bullet"><item><description>The origin is at the center of mass of the part, as returned by
[M:SpaceCenter.Part.CenterOfMass](M:SpaceCenter.Part.CenterOfMass).</description></item><item><description>The axes rotate with the part.</description></item><item><description>The x, y and z axis directions depend on the design of the part.
</description></item></list><remarks>
For docking port parts, this reference frame is not necessarily equivalent to the
reference frame for the docking port, returned by
[M:SpaceCenter.DockingPort.ReferenceFrame](M:SpaceCenter.DockingPort.ReferenceFrame).

**Parameters**

-   `part` **Long** A long value representing the id for the SpaceCenter.Part

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsWithName

**Extends SpaceCenter**

A list of parts whose [M:SpaceCenter.Part.Name](M:SpaceCenter.Part.Name) is {name}.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts
-   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsWithTitle

**Extends SpaceCenter**

A list of all parts whose [M:SpaceCenter.Part.Title](M:SpaceCenter.Part.Title) is {title}.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts
-   `title` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsWithTag

**Extends SpaceCenter**

A list of all parts whose [M:SpaceCenter.Part.Tag](M:SpaceCenter.Part.Tag) is {tag}.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts
-   `tag` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsWithModule

**Extends SpaceCenter**

A list of all parts that contain a [T:SpaceCenter.Module](T:SpaceCenter.Module) whose
[M:SpaceCenter.Module.Name](M:SpaceCenter.Module.Name) is {moduleName}.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts
-   `moduleName` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsInStage

**Extends SpaceCenter**

A list of all parts that are activated in the given {stage}.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts
-   `stage` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsInDecoupleStage

**Extends SpaceCenter**

A list of all parts that are decoupled in the given {stage}.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts
-   `stage` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsModulesWithName

**Extends SpaceCenter**

A list of modules (combined across all parts in the vessel) whose
[M:SpaceCenter.Module.Name](M:SpaceCenter.Module.Name) is {moduleName}.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts
-   `moduleName` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsGetAll

**Extends SpaceCenter**

A list of all of the vessels parts.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsGetRoot

**Extends SpaceCenter**

The vessels root part.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsGetControlling

**Extends SpaceCenter**

The part from which the vessel is controlled.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsSetControlling

**Extends SpaceCenter**

The part from which the vessel is controlled.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts
-   `value` **Long** A long value representing the id for the SpaceCenter.Part

Returns **void** 

## partsGetAntennas

**Extends SpaceCenter**

A list of all antennas in the vessel.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsGetControlSurfaces

**Extends SpaceCenter**

A list of all control surfaces in the vessel.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsGetCargoBays

**Extends SpaceCenter**

A list of all cargo bays in the vessel.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsGetDecouplers

**Extends SpaceCenter**

A list of all decouplers in the vessel.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsGetDockingPorts

**Extends SpaceCenter**

A list of all docking ports in the vessel.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsGetEngines

**Extends SpaceCenter**

A list of all engines in the vessel.
 This includes any part that generates thrust. This covers many different types
of engine, including liquid fuel rockets, solid rocket boosters, jet engines and
RCS thrusters.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsGetExperiments

**Extends SpaceCenter**

A list of all science experiments in the vessel.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsGetFairings

**Extends SpaceCenter**

A list of all fairings in the vessel.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsGetIntakes

**Extends SpaceCenter**

A list of all intakes in the vessel.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsGetLegs

**Extends SpaceCenter**

A list of all landing legs attached to the vessel.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsGetLaunchClamps

**Extends SpaceCenter**

A list of all launch clamps attached to the vessel.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsGetLights

**Extends SpaceCenter**

A list of all lights in the vessel.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsGetParachutes

**Extends SpaceCenter**

A list of all parachutes in the vessel.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsGetRadiators

**Extends SpaceCenter**

A list of all radiators in the vessel.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsGetRcs

**Extends SpaceCenter**

A list of all RCS blocks/thrusters in the vessel.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsGetReactionWheels

**Extends SpaceCenter**

A list of all reaction wheels in the vessel.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsGetResourceConverters

**Extends SpaceCenter**

A list of all resource converters in the vessel.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsGetResourceHarvesters

**Extends SpaceCenter**

A list of all resource harvesters in the vessel.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsGetSensors

**Extends SpaceCenter**

A list of all sensors in the vessel.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsGetSolarPanels

**Extends SpaceCenter**

A list of all solar panels in the vessel.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## partsGetWheels

**Extends SpaceCenter**

A list of all wheels in the vessel.

**Parameters**

-   `parts` **Long** A long value representing the id for the SpaceCenter.Parts

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## propellantGetName

**Extends SpaceCenter**

The name of the propellant.

**Parameters**

-   `propellant` **Long** A long value representing the id for the SpaceCenter.Propellant

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## propellantGetCurrentAmount

**Extends SpaceCenter**

The current amount of propellant.

**Parameters**

-   `propellant` **Long** A long value representing the id for the SpaceCenter.Propellant

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## propellantGetCurrentRequirement

**Extends SpaceCenter**

The required amount of propellant.

**Parameters**

-   `propellant` **Long** A long value representing the id for the SpaceCenter.Propellant

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## propellantGetTotalResourceAvailable

**Extends SpaceCenter**

The total amount of the underlying resource currently reachable given
resource flow rules.

**Parameters**

-   `propellant` **Long** A long value representing the id for the SpaceCenter.Propellant

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## propellantGetTotalResourceCapacity

**Extends SpaceCenter**

The total vehicle capacity for the underlying propellant resource,
restricted by resource flow rules.

**Parameters**

-   `propellant` **Long** A long value representing the id for the SpaceCenter.Propellant

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## propellantGetIgnoreForIsp

**Extends SpaceCenter**

If this propellant should be ignored when calculating required mass flow
given specific impulse.

**Parameters**

-   `propellant` **Long** A long value representing the id for the SpaceCenter.Propellant

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## propellantGetIgnoreForThrustCurve

**Extends SpaceCenter**

If this propellant should be ignored for thrust curve calculations.

**Parameters**

-   `propellant` **Long** A long value representing the id for the SpaceCenter.Propellant

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## propellantGetDrawStackGauge

**Extends SpaceCenter**

If this propellant has a stack gauge or not.

**Parameters**

-   `propellant` **Long** A long value representing the id for the SpaceCenter.Propellant

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## propellantGetIsDeprived

**Extends SpaceCenter**

If this propellant is deprived.

**Parameters**

-   `propellant` **Long** A long value representing the id for the SpaceCenter.Propellant

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## propellantGetRatio

**Extends SpaceCenter**

The propellant ratio.

**Parameters**

-   `propellant` **Long** A long value representing the id for the SpaceCenter.Propellant

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## rcsGetPart

**Extends SpaceCenter**

The part object for this RCS.

**Parameters**

-   `rcs` **Long** A long value representing the id for the SpaceCenter.RCS

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## rcsGetActive

**Extends SpaceCenter**

Whether the RCS thrusters are active.
An RCS thruster is inactive if the RCS action group is disabled
([M:SpaceCenter.Control.RCS](M:SpaceCenter.Control.RCS)), the RCS thruster itself is not enabled
([M:SpaceCenter.RCS.Enabled](M:SpaceCenter.RCS.Enabled)) or it is covered by a fairing ([M:SpaceCenter.Part.Shielded](M:SpaceCenter.Part.Shielded)).

**Parameters**

-   `rcs` **Long** A long value representing the id for the SpaceCenter.RCS

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## rcsGetEnabled

**Extends SpaceCenter**

Whether the RCS thrusters are enabled.

**Parameters**

-   `rcs` **Long** A long value representing the id for the SpaceCenter.RCS

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## rcsSetEnabled

**Extends SpaceCenter**

Whether the RCS thrusters are enabled.

**Parameters**

-   `rcs` **Long** A long value representing the id for the SpaceCenter.RCS
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## rcsGetPitchEnabled

**Extends SpaceCenter**

Whether the RCS thruster will fire when pitch control input is given.

**Parameters**

-   `rcs` **Long** A long value representing the id for the SpaceCenter.RCS

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## rcsSetPitchEnabled

**Extends SpaceCenter**

Whether the RCS thruster will fire when pitch control input is given.

**Parameters**

-   `rcs` **Long** A long value representing the id for the SpaceCenter.RCS
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## rcsGetYawEnabled

**Extends SpaceCenter**

Whether the RCS thruster will fire when yaw control input is given.

**Parameters**

-   `rcs` **Long** A long value representing the id for the SpaceCenter.RCS

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## rcsSetYawEnabled

**Extends SpaceCenter**

Whether the RCS thruster will fire when yaw control input is given.

**Parameters**

-   `rcs` **Long** A long value representing the id for the SpaceCenter.RCS
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## rcsGetRollEnabled

**Extends SpaceCenter**

Whether the RCS thruster will fire when roll control input is given.

**Parameters**

-   `rcs` **Long** A long value representing the id for the SpaceCenter.RCS

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## rcsSetRollEnabled

**Extends SpaceCenter**

Whether the RCS thruster will fire when roll control input is given.

**Parameters**

-   `rcs` **Long** A long value representing the id for the SpaceCenter.RCS
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## rcsGetForwardEnabled

**Extends SpaceCenter**

Whether the RCS thruster will fire when pitch control input is given.

**Parameters**

-   `rcs` **Long** A long value representing the id for the SpaceCenter.RCS

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## rcsSetForwardEnabled

**Extends SpaceCenter**

Whether the RCS thruster will fire when pitch control input is given.

**Parameters**

-   `rcs` **Long** A long value representing the id for the SpaceCenter.RCS
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## rcsGetUpEnabled

**Extends SpaceCenter**

Whether the RCS thruster will fire when yaw control input is given.

**Parameters**

-   `rcs` **Long** A long value representing the id for the SpaceCenter.RCS

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## rcsSetUpEnabled

**Extends SpaceCenter**

Whether the RCS thruster will fire when yaw control input is given.

**Parameters**

-   `rcs` **Long** A long value representing the id for the SpaceCenter.RCS
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## rcsGetRightEnabled

**Extends SpaceCenter**

Whether the RCS thruster will fire when roll control input is given.

**Parameters**

-   `rcs` **Long** A long value representing the id for the SpaceCenter.RCS

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## rcsSetRightEnabled

**Extends SpaceCenter**

Whether the RCS thruster will fire when roll control input is given.

**Parameters**

-   `rcs` **Long** A long value representing the id for the SpaceCenter.RCS
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## rcsGetAvailableTorque

**Extends SpaceCenter**

The available torque, in Newton meters, that can be produced by this RCS,
in the positive and negative pitch, roll and yaw axes of the vessel. These axes
correspond to the coordinate axes of the [M:SpaceCenter.Vessel.ReferenceFrame](M:SpaceCenter.Vessel.ReferenceFrame).
Returns zero if RCS is disable.

**Parameters**

-   `rcs` **Long** A long value representing the id for the SpaceCenter.RCS

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## rcsGetMaxThrust

**Extends SpaceCenter**

The maximum amount of thrust that can be produced by the RCS thrusters when active,
in Newtons.

**Parameters**

-   `rcs` **Long** A long value representing the id for the SpaceCenter.RCS

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## rcsGetMaxVacuumThrust

**Extends SpaceCenter**

The maximum amount of thrust that can be produced by the RCS thrusters when active
in a vacuum, in Newtons.

**Parameters**

-   `rcs` **Long** A long value representing the id for the SpaceCenter.RCS

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## rcsGetThrusters

**Extends SpaceCenter**

A list of thrusters, one of each nozzel in the RCS part.

**Parameters**

-   `rcs` **Long** A long value representing the id for the SpaceCenter.RCS

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## rcsGetSpecificImpulse

**Extends SpaceCenter**

The current specific impulse of the RCS, in seconds. Returns zero
if the RCS is not active.

**Parameters**

-   `rcs` **Long** A long value representing the id for the SpaceCenter.RCS

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## rcsGetVacuumSpecificImpulse

**Extends SpaceCenter**

The vacuum specific impulse of the RCS, in seconds.

**Parameters**

-   `rcs` **Long** A long value representing the id for the SpaceCenter.RCS

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## rcsGetKerbinSeaLevelSpecificImpulse

**Extends SpaceCenter**

The specific impulse of the RCS at sea level on Kerbin, in seconds.

**Parameters**

-   `rcs` **Long** A long value representing the id for the SpaceCenter.RCS

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## rcsGetPropellants

**Extends SpaceCenter**

The names of resources that the RCS consumes.

**Parameters**

-   `rcs` **Long** A long value representing the id for the SpaceCenter.RCS

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## rcsGetPropellantRatios

**Extends SpaceCenter**

The ratios of resources that the RCS consumes. A dictionary mapping resource names
to the ratios at which they are consumed by the RCS.

**Parameters**

-   `rcs` **Long** A long value representing the id for the SpaceCenter.RCS

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## rcsGetHasFuel

**Extends SpaceCenter**

Whether the RCS has fuel available.
 The RCS thruster must be activated for this property to update correctly.

**Parameters**

-   `rcs` **Long** A long value representing the id for the SpaceCenter.RCS

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## radiatorGetPart

**Extends SpaceCenter**

The part object for this radiator.

**Parameters**

-   `radiator` **Long** A long value representing the id for the SpaceCenter.Radiator

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## radiatorGetDeployable

**Extends SpaceCenter**

Whether the radiator is deployable.

**Parameters**

-   `radiator` **Long** A long value representing the id for the SpaceCenter.Radiator

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## radiatorGetDeployed

**Extends SpaceCenter**

For a deployable radiator, true if the radiator is extended.
If the radiator is not deployable, this is always true.

**Parameters**

-   `radiator` **Long** A long value representing the id for the SpaceCenter.Radiator

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## radiatorSetDeployed

**Extends SpaceCenter**

For a deployable radiator, true if the radiator is extended.
If the radiator is not deployable, this is always true.

**Parameters**

-   `radiator` **Long** A long value representing the id for the SpaceCenter.Radiator
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## radiatorGetState

**Extends SpaceCenter**

The current state of the radiator.
 A fixed radiator is always [M:SpaceCenter.RadiatorState.Extended](M:SpaceCenter.RadiatorState.Extended).

**Parameters**

-   `radiator` **Long** A long value representing the id for the SpaceCenter.Radiator

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## reactionWheelGetPart

**Extends SpaceCenter**

The part object for this reaction wheel.

**Parameters**

-   `reactionWheel` **Long** A long value representing the id for the SpaceCenter.ReactionWheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## reactionWheelGetActive

**Extends SpaceCenter**

Whether the reaction wheel is active.

**Parameters**

-   `reactionWheel` **Long** A long value representing the id for the SpaceCenter.ReactionWheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## reactionWheelSetActive

**Extends SpaceCenter**

Whether the reaction wheel is active.

**Parameters**

-   `reactionWheel` **Long** A long value representing the id for the SpaceCenter.ReactionWheel
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## reactionWheelGetBroken

**Extends SpaceCenter**

Whether the reaction wheel is broken.

**Parameters**

-   `reactionWheel` **Long** A long value representing the id for the SpaceCenter.ReactionWheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## reactionWheelGetAvailableTorque

**Extends SpaceCenter**

The available torque, in Newton meters, that can be produced by this reaction wheel,
in the positive and negative pitch, roll and yaw axes of the vessel. These axes
correspond to the coordinate axes of the [M:SpaceCenter.Vessel.ReferenceFrame](M:SpaceCenter.Vessel.ReferenceFrame).
Returns zero if the reaction wheel is inactive or broken.

**Parameters**

-   `reactionWheel` **Long** A long value representing the id for the SpaceCenter.ReactionWheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## reactionWheelGetMaxTorque

**Extends SpaceCenter**

The maximum torque, in Newton meters, that can be produced by this reaction wheel,
when it is active, in the positive and negative pitch, roll and yaw axes of the vessel.
These axes correspond to the coordinate axes of the [M:SpaceCenter.Vessel.ReferenceFrame](M:SpaceCenter.Vessel.ReferenceFrame).

**Parameters**

-   `reactionWheel` **Long** A long value representing the id for the SpaceCenter.ReactionWheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourceConverterActive

**Extends SpaceCenter**

True if the specified converter is active.

**Parameters**

-   `resourceConverter` **Long** A long value representing the id for the SpaceCenter.ResourceConverter
-   `index` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Index of the converter.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourceConverterName

**Extends SpaceCenter**

The name of the specified converter.

**Parameters**

-   `resourceConverter` **Long** A long value representing the id for the SpaceCenter.ResourceConverter
-   `index` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Index of the converter.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourceConverterStart

**Extends SpaceCenter**

Start the specified converter.

**Parameters**

-   `resourceConverter` **Long** A long value representing the id for the SpaceCenter.ResourceConverter
-   `index` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Index of the converter.

Returns **void** 

## resourceConverterStop

**Extends SpaceCenter**

Stop the specified converter.

**Parameters**

-   `resourceConverter` **Long** A long value representing the id for the SpaceCenter.ResourceConverter
-   `index` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Index of the converter.

Returns **void** 

## resourceConverterState

**Extends SpaceCenter**

The state of the specified converter.

**Parameters**

-   `resourceConverter` **Long** A long value representing the id for the SpaceCenter.ResourceConverter
-   `index` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Index of the converter.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourceConverterStatusInfo

**Extends SpaceCenter**

Status information for the specified converter.
This is the full status message shown in the in-game UI.

**Parameters**

-   `resourceConverter` **Long** A long value representing the id for the SpaceCenter.ResourceConverter
-   `index` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Index of the converter.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourceConverterInputs

**Extends SpaceCenter**

List of the names of resources consumed by the specified converter.

**Parameters**

-   `resourceConverter` **Long** A long value representing the id for the SpaceCenter.ResourceConverter
-   `index` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Index of the converter.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourceConverterOutputs

**Extends SpaceCenter**

List of the names of resources produced by the specified converter.

**Parameters**

-   `resourceConverter` **Long** A long value representing the id for the SpaceCenter.ResourceConverter
-   `index` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Index of the converter.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourceConverterGetPart

**Extends SpaceCenter**

The part object for this converter.

**Parameters**

-   `resourceConverter` **Long** A long value representing the id for the SpaceCenter.ResourceConverter

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourceConverterGetCount

**Extends SpaceCenter**

The number of converters in the part.

**Parameters**

-   `resourceConverter` **Long** A long value representing the id for the SpaceCenter.ResourceConverter

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourceConverterGetThermalEfficiency

**Extends SpaceCenter**

The thermal efficiency of the converter, as a percentage of its maximum.

**Parameters**

-   `resourceConverter` **Long** A long value representing the id for the SpaceCenter.ResourceConverter

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourceConverterGetCoreTemperature

**Extends SpaceCenter**

The core temperature of the converter, in Kelvin.

**Parameters**

-   `resourceConverter` **Long** A long value representing the id for the SpaceCenter.ResourceConverter

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourceConverterGetOptimumCoreTemperature

**Extends SpaceCenter**

The core temperature at which the converter will operate with peak efficiency, in Kelvin.

**Parameters**

-   `resourceConverter` **Long** A long value representing the id for the SpaceCenter.ResourceConverter

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourceHarvesterGetPart

**Extends SpaceCenter**

The part object for this harvester.

**Parameters**

-   `resourceHarvester` **Long** A long value representing the id for the SpaceCenter.ResourceHarvester

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourceHarvesterGetState

**Extends SpaceCenter**

The state of the harvester.

**Parameters**

-   `resourceHarvester` **Long** A long value representing the id for the SpaceCenter.ResourceHarvester

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourceHarvesterGetDeployed

**Extends SpaceCenter**

Whether the harvester is deployed.

**Parameters**

-   `resourceHarvester` **Long** A long value representing the id for the SpaceCenter.ResourceHarvester

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourceHarvesterSetDeployed

**Extends SpaceCenter**

Whether the harvester is deployed.

**Parameters**

-   `resourceHarvester` **Long** A long value representing the id for the SpaceCenter.ResourceHarvester
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## resourceHarvesterGetActive

**Extends SpaceCenter**

Whether the harvester is actively drilling.

**Parameters**

-   `resourceHarvester` **Long** A long value representing the id for the SpaceCenter.ResourceHarvester

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourceHarvesterSetActive

**Extends SpaceCenter**

Whether the harvester is actively drilling.

**Parameters**

-   `resourceHarvester` **Long** A long value representing the id for the SpaceCenter.ResourceHarvester
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## resourceHarvesterGetExtractionRate

**Extends SpaceCenter**

The rate at which the drill is extracting ore, in units per second.

**Parameters**

-   `resourceHarvester` **Long** A long value representing the id for the SpaceCenter.ResourceHarvester

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourceHarvesterGetThermalEfficiency

**Extends SpaceCenter**

The thermal efficiency of the drill, as a percentage of its maximum.

**Parameters**

-   `resourceHarvester` **Long** A long value representing the id for the SpaceCenter.ResourceHarvester

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourceHarvesterGetCoreTemperature

**Extends SpaceCenter**

The core temperature of the drill, in Kelvin.

**Parameters**

-   `resourceHarvester` **Long** A long value representing the id for the SpaceCenter.ResourceHarvester

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourceHarvesterGetOptimumCoreTemperature

**Extends SpaceCenter**

The core temperature at which the drill will operate with peak efficiency, in Kelvin.

**Parameters**

-   `resourceHarvester` **Long** A long value representing the id for the SpaceCenter.ResourceHarvester

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## scienceDataGetDataAmount

**Extends SpaceCenter**

Data amount.

**Parameters**

-   `scienceData` **Long** A long value representing the id for the SpaceCenter.ScienceData

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## scienceDataGetScienceValue

**Extends SpaceCenter**

Science value.

**Parameters**

-   `scienceData` **Long** A long value representing the id for the SpaceCenter.ScienceData

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## scienceDataGetTransmitValue

**Extends SpaceCenter**

Transmit value.

**Parameters**

-   `scienceData` **Long** A long value representing the id for the SpaceCenter.ScienceData

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## scienceSubjectGetScience

**Extends SpaceCenter**

Amount of science already earned from this subject, not updated until after
transmission/recovery.

**Parameters**

-   `scienceSubject` **Long** A long value representing the id for the SpaceCenter.ScienceSubject

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## scienceSubjectGetScienceCap

**Extends SpaceCenter**

Total science allowable for this subject.

**Parameters**

-   `scienceSubject` **Long** A long value representing the id for the SpaceCenter.ScienceSubject

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## scienceSubjectGetIsComplete

**Extends SpaceCenter**

Whether the experiment has been completed.

**Parameters**

-   `scienceSubject` **Long** A long value representing the id for the SpaceCenter.ScienceSubject

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## scienceSubjectGetDataScale

**Extends SpaceCenter**

Multiply science value by this to determine data amount in mits.

**Parameters**

-   `scienceSubject` **Long** A long value representing the id for the SpaceCenter.ScienceSubject

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## scienceSubjectGetScientificValue

**Extends SpaceCenter**

Diminishing value multiplier for decreasing the science value returned from repeated
experiments.

**Parameters**

-   `scienceSubject` **Long** A long value representing the id for the SpaceCenter.ScienceSubject

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## scienceSubjectGetSubjectValue

**Extends SpaceCenter**

Multiplier for specific Celestial Body/Experiment Situation combination.

**Parameters**

-   `scienceSubject` **Long** A long value representing the id for the SpaceCenter.ScienceSubject

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## scienceSubjectGetTitle

**Extends SpaceCenter**

Title of science subject, displayed in science archives

**Parameters**

-   `scienceSubject` **Long** A long value representing the id for the SpaceCenter.ScienceSubject

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## sensorGetPart

**Extends SpaceCenter**

The part object for this sensor.

**Parameters**

-   `sensor` **Long** A long value representing the id for the SpaceCenter.Sensor

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## sensorGetActive

**Extends SpaceCenter**

Whether the sensor is active.

**Parameters**

-   `sensor` **Long** A long value representing the id for the SpaceCenter.Sensor

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## sensorSetActive

**Extends SpaceCenter**

Whether the sensor is active.

**Parameters**

-   `sensor` **Long** A long value representing the id for the SpaceCenter.Sensor
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## sensorGetValue

**Extends SpaceCenter**

The current value of the sensor.

**Parameters**

-   `sensor` **Long** A long value representing the id for the SpaceCenter.Sensor

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## solarPanelGetPart

**Extends SpaceCenter**

The part object for this solar panel.

**Parameters**

-   `solarPanel` **Long** A long value representing the id for the SpaceCenter.SolarPanel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## solarPanelGetDeployable

**Extends SpaceCenter**

Whether the solar panel is deployable.

**Parameters**

-   `solarPanel` **Long** A long value representing the id for the SpaceCenter.SolarPanel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## solarPanelGetDeployed

**Extends SpaceCenter**

Whether the solar panel is extended.

**Parameters**

-   `solarPanel` **Long** A long value representing the id for the SpaceCenter.SolarPanel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## solarPanelSetDeployed

**Extends SpaceCenter**

Whether the solar panel is extended.

**Parameters**

-   `solarPanel` **Long** A long value representing the id for the SpaceCenter.SolarPanel
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## solarPanelGetState

**Extends SpaceCenter**

The current state of the solar panel.

**Parameters**

-   `solarPanel` **Long** A long value representing the id for the SpaceCenter.SolarPanel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## solarPanelGetEnergyFlow

**Extends SpaceCenter**

The current amount of energy being generated by the solar panel, in
units of charge per second.

**Parameters**

-   `solarPanel` **Long** A long value representing the id for the SpaceCenter.SolarPanel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## solarPanelGetSunExposure

**Extends SpaceCenter**

The current amount of sunlight that is incident on the solar panel,
as a percentage. A value between 0 and 1.

**Parameters**

-   `solarPanel` **Long** A long value representing the id for the SpaceCenter.SolarPanel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## thrusterThrustPosition

**Extends SpaceCenter**

The position at which the thruster generates thrust, in the given reference frame.
For gimballed engines, this takes into account the current rotation of the gimbal.
Returns: The position as a vector.

<param name="referenceFrame">The reference frame that the returned
position vector is in.</param>

**Parameters**

-   `thruster` **Long** A long value representing the id for the SpaceCenter.Thruster
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## thrusterThrustDirection

**Extends SpaceCenter**

The direction of the force generated by the thruster, in the given reference frame.
This is opposite to the direction in which the thruster expels propellant.
For gimballed engines, this takes into account the current rotation of the gimbal.
Returns: The direction as a unit vector.

<param name="referenceFrame">The reference frame that the returned
direction is in.</param>

**Parameters**

-   `thruster` **Long** A long value representing the id for the SpaceCenter.Thruster
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## thrusterInitialThrustPosition

**Extends SpaceCenter**

The position at which the thruster generates thrust, when the engine is in its
initial position (no gimballing), in the given reference frame.
Returns: The position as a vector.

<param name="referenceFrame">The reference frame that the returned
position vector is in.</param>
 This position can move when the gimbal rotates. This is because the thrust position and
gimbal position are not necessarily the same.

**Parameters**

-   `thruster` **Long** A long value representing the id for the SpaceCenter.Thruster
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## thrusterInitialThrustDirection

**Extends SpaceCenter**

The direction of the force generated by the thruster, when the engine is in its
initial position (no gimballing), in the given reference frame.
This is opposite to the direction in which the thruster expels propellant.
Returns: The direction as a unit vector.

<param name="referenceFrame">The reference frame that the returned
direction is in.</param>

**Parameters**

-   `thruster` **Long** A long value representing the id for the SpaceCenter.Thruster
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## thrusterGimbalPosition

**Extends SpaceCenter**

Position around which the gimbal pivots.
Returns: The position as a vector.

<param name="referenceFrame">The reference frame that the returned
position vector is in.</param>

**Parameters**

-   `thruster` **Long** A long value representing the id for the SpaceCenter.Thruster
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## thrusterGetPart

**Extends SpaceCenter**

The [T:SpaceCenter.Part](T:SpaceCenter.Part) that contains this thruster.

**Parameters**

-   `thruster` **Long** A long value representing the id for the SpaceCenter.Thruster

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## thrusterGetThrustReferenceFrame

**Extends SpaceCenter**

A reference frame that is fixed relative to the thruster and orientated with
its thrust direction ([M:SpaceCenter.Thruster.ThrustDirection](M:SpaceCenter.Thruster.ThrustDirection)).
For gimballed engines, this takes into account the current rotation of the gimbal.
<list type="bullet"><item><description>
The origin is at the position of thrust for this thruster
([M:SpaceCenter.Thruster.ThrustPosition](M:SpaceCenter.Thruster.ThrustPosition)).</description></item><item><description>
The axes rotate with the thrust direction.
This is the direction in which the thruster expels propellant, including any gimballing.
</description></item><item><description>The y-axis points along the thrust direction.</description></item><item><description>The x-axis and z-axis are perpendicular to the thrust direction.
</description></item></list>

**Parameters**

-   `thruster` **Long** A long value representing the id for the SpaceCenter.Thruster

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## thrusterGetGimballed

**Extends SpaceCenter**

Whether the thruster is gimballed.

**Parameters**

-   `thruster` **Long** A long value representing the id for the SpaceCenter.Thruster

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## thrusterGetGimbalAngle

**Extends SpaceCenter**

The current gimbal angle in the pitch, roll and yaw axes, in degrees.

**Parameters**

-   `thruster` **Long** A long value representing the id for the SpaceCenter.Thruster

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelGetPart

**Extends SpaceCenter**

The part object for this wheel.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelGetState

**Extends SpaceCenter**

The current state of the wheel.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelGetRadius

**Extends SpaceCenter**

Radius of the wheel, in meters.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelGetGrounded

**Extends SpaceCenter**

Whether the wheel is touching the ground.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelGetHasBrakes

**Extends SpaceCenter**

Whether the wheel has brakes.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelGetBrakes

**Extends SpaceCenter**

The braking force, as a percentage of maximum, when the brakes are applied.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelSetBrakes

**Extends SpaceCenter**

The braking force, as a percentage of maximum, when the brakes are applied.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## wheelGetAutoFrictionControl

**Extends SpaceCenter**

Whether automatic friction control is enabled.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelSetAutoFrictionControl

**Extends SpaceCenter**

Whether automatic friction control is enabled.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## wheelGetManualFrictionControl

**Extends SpaceCenter**

Manual friction control value. Only has an effect if automatic friction control is disabled.
A value between 0 and 5 inclusive.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelSetManualFrictionControl

**Extends SpaceCenter**

Manual friction control value. Only has an effect if automatic friction control is disabled.
A value between 0 and 5 inclusive.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## wheelGetDeployable

**Extends SpaceCenter**

Whether the wheel is deployable.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelGetDeployed

**Extends SpaceCenter**

Whether the wheel is deployed.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelSetDeployed

**Extends SpaceCenter**

Whether the wheel is deployed.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## wheelGetPowered

**Extends SpaceCenter**

Whether the wheel is powered by a motor.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelGetMotorEnabled

**Extends SpaceCenter**

Whether the motor is enabled.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelSetMotorEnabled

**Extends SpaceCenter**

Whether the motor is enabled.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## wheelGetMotorInverted

**Extends SpaceCenter**

Whether the direction of the motor is inverted.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelSetMotorInverted

**Extends SpaceCenter**

Whether the direction of the motor is inverted.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## wheelGetMotorState

**Extends SpaceCenter**

Whether the direction of the motor is inverted.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelGetMotorOutput

**Extends SpaceCenter**

The output of the motor. This is the torque currently being generated, in Newton meters.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelGetTractionControlEnabled

**Extends SpaceCenter**

Whether automatic traction control is enabled.
A wheel only has traction control if it is powered.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelSetTractionControlEnabled

**Extends SpaceCenter**

Whether automatic traction control is enabled.
A wheel only has traction control if it is powered.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## wheelGetTractionControl

**Extends SpaceCenter**

Setting for the traction control.
Only takes effect if the wheel has automatic traction control enabled.
A value between 0 and 5 inclusive.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelSetTractionControl

**Extends SpaceCenter**

Setting for the traction control.
Only takes effect if the wheel has automatic traction control enabled.
A value between 0 and 5 inclusive.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## wheelGetDriveLimiter

**Extends SpaceCenter**

Manual setting for the motor limiter.
Only takes effect if the wheel has automatic traction control disabled.
A value between 0 and 100 inclusive.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelSetDriveLimiter

**Extends SpaceCenter**

Manual setting for the motor limiter.
Only takes effect if the wheel has automatic traction control disabled.
A value between 0 and 100 inclusive.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## wheelGetSteerable

**Extends SpaceCenter**

Whether the wheel has steering.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelGetSteeringEnabled

**Extends SpaceCenter**

Whether the wheel steering is enabled.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelSetSteeringEnabled

**Extends SpaceCenter**

Whether the wheel steering is enabled.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## wheelGetSteeringInverted

**Extends SpaceCenter**

Whether the wheel steering is inverted.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelSetSteeringInverted

**Extends SpaceCenter**

Whether the wheel steering is inverted.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## wheelGetHasSuspension

**Extends SpaceCenter**

Whether the wheel has suspension.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelGetSuspensionSpringStrength

**Extends SpaceCenter**

Suspension spring strength, as set in the editor.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelGetSuspensionDamperStrength

**Extends SpaceCenter**

Suspension damper strength, as set in the editor.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelGetBroken

**Extends SpaceCenter**

Whether the wheel is broken.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelGetRepairable

**Extends SpaceCenter**

Whether the wheel is repairable.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelGetStress

**Extends SpaceCenter**

Current stress on the wheel.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelGetStressTolerance

**Extends SpaceCenter**

Stress tolerance of the wheel.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelGetStressPercentage

**Extends SpaceCenter**

Current stress on the wheel as a percentage of its stress tolerance.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelGetDeflection

**Extends SpaceCenter**

Current deflection of the wheel.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## wheelGetSlip

**Extends SpaceCenter**

Current slip of the wheel.

**Parameters**

-   `wheel` **Long** A long value representing the id for the SpaceCenter.Wheel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## referenceFrameStaticCreateRelative

**Extends SpaceCenter**

Create a relative reference frame. This is a custom reference frame
whose components offset the components of a parent reference frame.

<param name="referenceFrame">The parent reference frame on which to
base this reference frame.</param>
<param name="position">The offset of the position of the origin,
as a position vector. Defaults to <math>(0, 0, 0)</math></param>
<param name="rotation">The rotation to apply to the parent frames rotation,
as a quaternion of the form <math>(x, y, z, w)</math>.
Defaults to <math>(0, 0, 0, 1)</math> (i.e. no rotation)</param>
<param name="velocity">The linear velocity to offset the parent frame by,
as a vector pointing in the direction of travel, whose magnitude is the speed in
meters per second. Defaults to <math>(0, 0, 0)</math>.</param>
<param name="angularVelocity">The angular velocity to offset the parent frame by,
as a vector. This vector points in the direction of the axis of rotation,
and its magnitude is the speed of the rotation in radians per second.
Defaults to <math>(0, 0, 0)</math>.</param>

**Parameters**

-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame
-   `position` **{number, number, number}** The offset of the position of the origin,
    as a position vector. Defaults to <math>(0, 0, 0)</math>
-   `rotation` **{number, number, number, number}** The rotation to apply to the parent frames rotation,
    as a quaternion of the form <math>(x, y, z, w)</math>.
    Defaults to <math>(0, 0, 0, 1)</math> (i.e. no rotation)
-   `velocity` **{number, number, number}** The linear velocity to offset the parent frame by,
    as a vector pointing in the direction of travel, whose magnitude is the speed in
    meters per second. Defaults to <math>(0, 0, 0)</math>.
-   `angularVelocity` **{number, number, number}** The angular velocity to offset the parent frame by,
    as a vector. This vector points in the direction of the axis of rotation,
    and its magnitude is the speed of the rotation in radians per second.
    Defaults to <math>(0, 0, 0)</math>.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## referenceFrameStaticCreateHybrid

**Extends SpaceCenter**

Create a hybrid reference frame. This is a custom reference frame
whose components inherited from other reference frames.

<param name="velocity">The reference frame providing the linear velocity of the frame.
</param>
<param name="angularVelocity">The reference frame providing the angular velocity
of the frame.</param>
 The {position} reference frame is required but all other
reference frames are optional. If omitted, they are set to the
{position} reference frame.

**Parameters**

-   `position` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame
-   `rotation` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame
-   `velocity` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame
-   `angularVelocity` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourceGetName

**Extends SpaceCenter**

The name of the resource.

**Parameters**

-   `resource` **Long** A long value representing the id for the SpaceCenter.Resource

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourceGetPart

**Extends SpaceCenter**

The part containing the resource.

**Parameters**

-   `resource` **Long** A long value representing the id for the SpaceCenter.Resource

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourceGetMax

**Extends SpaceCenter**

The total amount of the resource that can be stored in the part.

**Parameters**

-   `resource` **Long** A long value representing the id for the SpaceCenter.Resource

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourceGetAmount

**Extends SpaceCenter**

The amount of the resource that is currently stored in the part.

**Parameters**

-   `resource` **Long** A long value representing the id for the SpaceCenter.Resource

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourceGetDensity

**Extends SpaceCenter**

The density of the resource, in <math>kg/l</math>.

**Parameters**

-   `resource` **Long** A long value representing the id for the SpaceCenter.Resource

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourceGetFlowMode

**Extends SpaceCenter**

The flow mode of the resource.

**Parameters**

-   `resource` **Long** A long value representing the id for the SpaceCenter.Resource

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourceGetEnabled

**Extends SpaceCenter**

Whether use of this resource is enabled.

**Parameters**

-   `resource` **Long** A long value representing the id for the SpaceCenter.Resource

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourceSetEnabled

**Extends SpaceCenter**

Whether use of this resource is enabled.

**Parameters**

-   `resource` **Long** A long value representing the id for the SpaceCenter.Resource
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## resourceTransferStaticStart

**Extends SpaceCenter**

Start transferring a resource transfer between a pair of parts. The transfer will move
at most {maxAmount} units of the resource, depending on how much of
the resource is available in the source part and how much storage is available in the
destination part.
Use [M:SpaceCenter.ResourceTransfer.Complete](M:SpaceCenter.ResourceTransfer.Complete) to check if the transfer is complete.
Use [M:SpaceCenter.ResourceTransfer.Amount](M:SpaceCenter.ResourceTransfer.Amount) to see how much of the resource has been transferred.

**Parameters**

-   `fromPart` **Long** A long value representing the id for the SpaceCenter.Part
-   `toPart` **Long** A long value representing the id for the SpaceCenter.Part
-   `resource` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** The name of the resource to transfer.
-   `maxAmount` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** The maximum amount of resource to transfer.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourceTransferGetComplete

**Extends SpaceCenter**

Whether the transfer has completed.

**Parameters**

-   `resourceTransfer` **Long** A long value representing the id for the SpaceCenter.ResourceTransfer

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourceTransferGetAmount

**Extends SpaceCenter**

The amount of the resource that has been transferred.

**Parameters**

-   `resourceTransfer` **Long** A long value representing the id for the SpaceCenter.ResourceTransfer

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourcesWithResource

**Extends SpaceCenter**

All the individual resources with the given name that can be stored.

**Parameters**

-   `resources` **Long** A long value representing the id for the SpaceCenter.Resources
-   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourcesHasResource

**Extends SpaceCenter**

Check whether the named resource can be stored.

**Parameters**

-   `resources` **Long** A long value representing the id for the SpaceCenter.Resources
-   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** The name of the resource.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourcesMax

**Extends SpaceCenter**

Returns the amount of a resource that can be stored.

**Parameters**

-   `resources` **Long** A long value representing the id for the SpaceCenter.Resources
-   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** The name of the resource.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourcesAmount

**Extends SpaceCenter**

Returns the amount of a resource that is currently stored.

**Parameters**

-   `resources` **Long** A long value representing the id for the SpaceCenter.Resources
-   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** The name of the resource.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourcesStaticDensity

**Extends SpaceCenter**

Returns the density of a resource, in <math>kg/l</math>.

**Parameters**

-   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** The name of the resource.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourcesStaticFlowMode

**Extends SpaceCenter**

Returns the flow mode of a resource.

**Parameters**

-   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** The name of the resource.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourcesGetAll

**Extends SpaceCenter**

All the individual resources that can be stored.

**Parameters**

-   `resources` **Long** A long value representing the id for the SpaceCenter.Resources

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourcesGetNames

**Extends SpaceCenter**

A list of resource names that can be stored.

**Parameters**

-   `resources` **Long** A long value representing the id for the SpaceCenter.Resources

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourcesGetEnabled

**Extends SpaceCenter**

Whether use of all the resources are enabled.
 This is true if all of the resources are enabled.
If any of the resources are not enabled, this is false.

**Parameters**

-   `resources` **Long** A long value representing the id for the SpaceCenter.Resources

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## resourcesSetEnabled

**Extends SpaceCenter**

Whether use of all the resources are enabled.
 This is true if all of the resources are enabled.
If any of the resources are not enabled, this is false.

**Parameters**

-   `resources` **Long** A long value representing the id for the SpaceCenter.Resources
-   `value` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 

Returns **void** 

## vesselRecover

**Extends SpaceCenter**

Recover the vessel.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **void** 

## vesselFlight

**Extends SpaceCenter**

Returns a [T:SpaceCenter.Flight](T:SpaceCenter.Flight) object that can be used to get flight
telemetry for the vessel, in the specified reference frame.

<param name="referenceFrame">
Reference frame. Defaults to the vessel's surface reference frame
({@link M:SpaceCenter.Vessel.SurfaceReferenceFrame}).
</param>

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselResourcesInDecoupleStage

**Extends SpaceCenter**

Returns a [T:SpaceCenter.Resources](T:SpaceCenter.Resources) object, that can used to get
information about resources stored in a given {stage}.

<param name="cumulative">When false, returns the resources for parts
decoupled in just the given stage. When true returns the resources decoupled in
the given stage and all subsequent stages combined.</param>

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel
-   `stage` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Get resources for parts that are decoupled in this stage.
-   `cumulative` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** When <c>false</c>, returns the resources for parts
    decoupled in just the given stage. When <c>true</c> returns the resources decoupled in
    the given stage and all subsequent stages combined.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselPosition

**Extends SpaceCenter**

The position of the center of mass of the vessel, in the given reference frame.
Returns: The position as a vector.

<param name="referenceFrame">The reference frame that the returned
position vector is in.</param>

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselBoundingBox

**Extends SpaceCenter**

The axis-aligned bounding box of the vessel in the given reference frame.
Returns: The positions of the minimum and maximum vertices of the box,
as position vectors.

<param name="referenceFrame">The reference frame that the returned
position vectors are in.</param>

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselVelocity

**Extends SpaceCenter**

The velocity of the center of mass of the vessel, in the given reference frame.
Returns: The velocity as a vector. The vector points in the direction of travel,
and its magnitude is the speed of the body in meters per second.

<param name="referenceFrame">The reference frame that the returned
velocity vector is in.</param>

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselRotation

**Extends SpaceCenter**

The rotation of the vessel, in the given reference frame.
Returns: The rotation as a quaternion of the form <math>(x, y, z, w)</math>.

<param name="referenceFrame">The reference frame that the returned
rotation is in.</param>

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselDirection

**Extends SpaceCenter**

The direction in which the vessel is pointing, in the given reference frame.
Returns: The direction as a unit vector.

<param name="referenceFrame">The reference frame that the returned
direction is in.</param>

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselAngularVelocity

**Extends SpaceCenter**

The angular velocity of the vessel, in the given reference frame.
Returns: The angular velocity as a vector. The magnitude of the vector is the rotational
speed of the vessel, in radians per second. The direction of the vector indicates the
axis of rotation, using the right-hand rule.

<param name="referenceFrame">The reference frame the returned
angular velocity is in.</param>

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel
-   `referenceFrame` **Long** A long value representing the id for the SpaceCenter.ReferenceFrame

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetName

**Extends SpaceCenter**

The name of the vessel.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselSetName

**Extends SpaceCenter**

The name of the vessel.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel
-   `value` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 

Returns **void** 

## vesselGetType

**Extends SpaceCenter**

The type of the vessel.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselSetType

**Extends SpaceCenter**

The type of the vessel.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel
-   `value` **Long** A long value representing the id for the SpaceCenter.VesselType

Returns **void** 

## vesselGetSituation

**Extends SpaceCenter**

The situation the vessel is in.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetRecoverable

**Extends SpaceCenter**

Whether the vessel is recoverable.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetMet

**Extends SpaceCenter**

The mission elapsed time in seconds.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetBiome

**Extends SpaceCenter**

The name of the biome the vessel is currently in.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetOrbit

**Extends SpaceCenter**

The current orbit of the vessel.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetControl

**Extends SpaceCenter**

Returns a [T:SpaceCenter.Control](T:SpaceCenter.Control) object that can be used to manipulate
the vessel's control inputs. For example, its pitch/yaw/roll controls,
RCS and thrust.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetComms

**Extends SpaceCenter**

Returns a [T:SpaceCenter.Comms](T:SpaceCenter.Comms) object that can be used to interact
with CommNet for this vessel.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetAutoPilot

**Extends SpaceCenter**

An [T:SpaceCenter.AutoPilot](T:SpaceCenter.AutoPilot) object, that can be used to perform
simple auto-piloting of the vessel.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetCrewCapacity

**Extends SpaceCenter**

The number of crew that can occupy the vessel.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetCrewCount

**Extends SpaceCenter**

The number of crew that are occupying the vessel.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetCrew

**Extends SpaceCenter**

The crew in the vessel.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetResources

**Extends SpaceCenter**

A [T:SpaceCenter.Resources](T:SpaceCenter.Resources) object, that can used to get information
about resources stored in the vessel.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetParts

**Extends SpaceCenter**

A [T:SpaceCenter.Parts](T:SpaceCenter.Parts) object, that can used to interact with the parts that make up this vessel.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetMass

**Extends SpaceCenter**

The total mass of the vessel, including resources, in kg.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetDryMass

**Extends SpaceCenter**

The total mass of the vessel, excluding resources, in kg.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetThrust

**Extends SpaceCenter**

The total thrust currently being produced by the vessel's engines, in
Newtons. This is computed by summing [M:SpaceCenter.Engine.Thrust](M:SpaceCenter.Engine.Thrust) for
every engine in the vessel.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetAvailableThrust

**Extends SpaceCenter**

Gets the total available thrust that can be produced by the vessel's
active engines, in Newtons. This is computed by summing
[M:SpaceCenter.Engine.AvailableThrust](M:SpaceCenter.Engine.AvailableThrust) for every active engine in the vessel.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetMaxThrust

**Extends SpaceCenter**

The total maximum thrust that can be produced by the vessel's active
engines, in Newtons. This is computed by summing
[M:SpaceCenter.Engine.MaxThrust](M:SpaceCenter.Engine.MaxThrust) for every active engine.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetMaxVacuumThrust

**Extends SpaceCenter**

The total maximum thrust that can be produced by the vessel's active
engines when the vessel is in a vacuum, in Newtons. This is computed by
summing [M:SpaceCenter.Engine.MaxVacuumThrust](M:SpaceCenter.Engine.MaxVacuumThrust) for every active engine.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetSpecificImpulse

**Extends SpaceCenter**

The combined specific impulse of all active engines, in seconds. This is computed using the formula
<a href="https://wiki.kerbalspaceprogram.com/wiki/Specific_impulse#Multiple_engines">described here</a>.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetVacuumSpecificImpulse

**Extends SpaceCenter**

The combined vacuum specific impulse of all active engines, in seconds. This is computed using the formula
<a href="https://wiki.kerbalspaceprogram.com/wiki/Specific_impulse#Multiple_engines">described here</a>.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetKerbinSeaLevelSpecificImpulse

**Extends SpaceCenter**

The combined specific impulse of all active engines at sea level on Kerbin, in seconds.
This is computed using the formula
<a href="https://wiki.kerbalspaceprogram.com/wiki/Specific_impulse#Multiple_engines">described here</a>.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetMomentOfInertia

**Extends SpaceCenter**

The moment of inertia of the vessel around its center of mass in <math>kg.m^2</math>.
The inertia values in the returned 3-tuple are around the
pitch, roll and yaw directions respectively.
This corresponds to the vessels reference frame ([T:SpaceCenter.ReferenceFrame](T:SpaceCenter.ReferenceFrame)).

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetInertiaTensor

**Extends SpaceCenter**

The inertia tensor of the vessel around its center of mass,
in the vessels reference frame ([T:SpaceCenter.ReferenceFrame](T:SpaceCenter.ReferenceFrame)).
Returns the 3x3 matrix as a list of elements, in row-major order.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetAvailableTorque

**Extends SpaceCenter**

The maximum torque that the vessel generates. Includes contributions from
reaction wheels, RCS, gimballed engines and aerodynamic control surfaces.
Returns the torques in <math>N.m</math> around each of the coordinate axes of the
vessels reference frame ([T:SpaceCenter.ReferenceFrame](T:SpaceCenter.ReferenceFrame)).
These axes are equivalent to the pitch, roll and yaw axes of the vessel.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetAvailableReactionWheelTorque

**Extends SpaceCenter**

The maximum torque that the currently active and powered reaction wheels can generate.
Returns the torques in <math>N.m</math> around each of the coordinate axes of the
vessels reference frame ([T:SpaceCenter.ReferenceFrame](T:SpaceCenter.ReferenceFrame)).
These axes are equivalent to the pitch, roll and yaw axes of the vessel.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetAvailableRcsTorque

**Extends SpaceCenter**

The maximum torque that the currently active RCS thrusters can generate.
Returns the torques in <math>N.m</math> around each of the coordinate axes of the
vessels reference frame ([T:SpaceCenter.ReferenceFrame](T:SpaceCenter.ReferenceFrame)).
These axes are equivalent to the pitch, roll and yaw axes of the vessel.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetAvailableEngineTorque

**Extends SpaceCenter**

The maximum torque that the currently active and gimballed engines can generate.
Returns the torques in <math>N.m</math> around each of the coordinate axes of the
vessels reference frame ([T:SpaceCenter.ReferenceFrame](T:SpaceCenter.ReferenceFrame)).
These axes are equivalent to the pitch, roll and yaw axes of the vessel.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetAvailableControlSurfaceTorque

**Extends SpaceCenter**

The maximum torque that the aerodynamic control surfaces can generate.
Returns the torques in <math>N.m</math> around each of the coordinate axes of the
vessels reference frame ([T:SpaceCenter.ReferenceFrame](T:SpaceCenter.ReferenceFrame)).
These axes are equivalent to the pitch, roll and yaw axes of the vessel.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetAvailableOtherTorque

**Extends SpaceCenter**

The maximum torque that parts (excluding reaction wheels, gimballed engines,
RCS and control surfaces) can generate.
Returns the torques in <math>N.m</math> around each of the coordinate axes of the
vessels reference frame ([T:SpaceCenter.ReferenceFrame](T:SpaceCenter.ReferenceFrame)).
These axes are equivalent to the pitch, roll and yaw axes of the vessel.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetReferenceFrame

**Extends SpaceCenter**

The reference frame that is fixed relative to the vessel,
and orientated with the vessel.
<list type="bullet"><item><description>The origin is at the center of mass of the vessel.</description></item><item><description>The axes rotate with the vessel.</description></item><item><description>The x-axis points out to the right of the vessel.</description></item><item><description>The y-axis points in the forward direction of the vessel.</description></item><item><description>The z-axis points out of the bottom off the vessel.</description></item></list>

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetOrbitalReferenceFrame

**Extends SpaceCenter**

The reference frame that is fixed relative to the vessel,
and orientated with the vessels orbital prograde/normal/radial directions.
<list type="bullet"><item><description>The origin is at the center of mass of the vessel.</description></item><item><description>The axes rotate with the orbital prograde/normal/radial directions.</description></item><item><description>The x-axis points in the orbital anti-radial direction.</description></item><item><description>The y-axis points in the orbital prograde direction.</description></item><item><description>The z-axis points in the orbital normal direction.</description></item></list><remarks>
Be careful not to confuse this with 'orbit' mode on the navball.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetSurfaceReferenceFrame

**Extends SpaceCenter**

The reference frame that is fixed relative to the vessel,
and orientated with the surface of the body being orbited.
<list type="bullet"><item><description>The origin is at the center of mass of the vessel.</description></item><item><description>The axes rotate with the north and up directions on the surface of the body.</description></item><item><description>The x-axis points in the <a href="https://en.wikipedia.org/wiki/Zenith">zenith</a>
direction (upwards, normal to the body being orbited, from the center of the body towards the center of
mass of the vessel).</description></item><item><description>The y-axis points northwards towards the
<a href="https://en.wikipedia.org/wiki/Horizon">astronomical horizon</a> (north, and tangential to the
surface of the body -- the direction in which a compass would point when on the surface).</description></item><item><description>The z-axis points eastwards towards the
<a href="https://en.wikipedia.org/wiki/Horizon">astronomical horizon</a> (east, and tangential to the
surface of the body -- east on a compass when on the surface).</description></item></list><remarks>
Be careful not to confuse this with 'surface' mode on the navball.

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## vesselGetSurfaceVelocityReferenceFrame

**Extends SpaceCenter**

The reference frame that is fixed relative to the vessel,
and orientated with the velocity vector of the vessel relative
to the surface of the body being orbited.
<list type="bullet"><item><description>The origin is at the center of mass of the vessel.</description></item><item><description>The axes rotate with the vessel's velocity vector.</description></item><item><description>The y-axis points in the direction of the vessel's velocity vector,
relative to the surface of the body being orbited.</description></item><item><description>The z-axis is in the plane of the
<a href="https://en.wikipedia.org/wiki/Horizon">astronomical horizon</a>.</description></item><item><description>The x-axis is orthogonal to the other two axes.</description></item></list>

**Parameters**

-   `vessel` **Long** A long value representing the id for the SpaceCenter.Vessel

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## waypointRemove

**Extends SpaceCenter**

Removes the waypoint.

**Parameters**

-   `waypoint` **Long** A long value representing the id for the SpaceCenter.Waypoint

Returns **void** 

## waypointGetBody

**Extends SpaceCenter**

The celestial body the waypoint is attached to.

**Parameters**

-   `waypoint` **Long** A long value representing the id for the SpaceCenter.Waypoint

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## waypointSetBody

**Extends SpaceCenter**

The celestial body the waypoint is attached to.

**Parameters**

-   `waypoint` **Long** A long value representing the id for the SpaceCenter.Waypoint
-   `value` **Long** A long value representing the id for the SpaceCenter.CelestialBody

Returns **void** 

## waypointGetName

**Extends SpaceCenter**

The name of the waypoint as it appears on the map and the contract.

**Parameters**

-   `waypoint` **Long** A long value representing the id for the SpaceCenter.Waypoint

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## waypointSetName

**Extends SpaceCenter**

The name of the waypoint as it appears on the map and the contract.

**Parameters**

-   `waypoint` **Long** A long value representing the id for the SpaceCenter.Waypoint
-   `value` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 

Returns **void** 

## waypointGetColor

**Extends SpaceCenter**

The seed of the icon color. See [M:SpaceCenter.WaypointManager.Colors](M:SpaceCenter.WaypointManager.Colors) for example colors.

**Parameters**

-   `waypoint` **Long** A long value representing the id for the SpaceCenter.Waypoint

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## waypointSetColor

**Extends SpaceCenter**

The seed of the icon color. See [M:SpaceCenter.WaypointManager.Colors](M:SpaceCenter.WaypointManager.Colors) for example colors.

**Parameters**

-   `waypoint` **Long** A long value representing the id for the SpaceCenter.Waypoint
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## waypointGetIcon

**Extends SpaceCenter**

The icon of the waypoint.

**Parameters**

-   `waypoint` **Long** A long value representing the id for the SpaceCenter.Waypoint

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## waypointSetIcon

**Extends SpaceCenter**

The icon of the waypoint.

**Parameters**

-   `waypoint` **Long** A long value representing the id for the SpaceCenter.Waypoint
-   `value` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 

Returns **void** 

## waypointGetLatitude

**Extends SpaceCenter**

The latitude of the waypoint.

**Parameters**

-   `waypoint` **Long** A long value representing the id for the SpaceCenter.Waypoint

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## waypointSetLatitude

**Extends SpaceCenter**

The latitude of the waypoint.

**Parameters**

-   `waypoint` **Long** A long value representing the id for the SpaceCenter.Waypoint
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## waypointGetLongitude

**Extends SpaceCenter**

The longitude of the waypoint.

**Parameters**

-   `waypoint` **Long** A long value representing the id for the SpaceCenter.Waypoint

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## waypointSetLongitude

**Extends SpaceCenter**

The longitude of the waypoint.

**Parameters**

-   `waypoint` **Long** A long value representing the id for the SpaceCenter.Waypoint
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## waypointGetMeanAltitude

**Extends SpaceCenter**

The altitude of the waypoint above sea level, in meters.

**Parameters**

-   `waypoint` **Long** A long value representing the id for the SpaceCenter.Waypoint

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## waypointSetMeanAltitude

**Extends SpaceCenter**

The altitude of the waypoint above sea level, in meters.

**Parameters**

-   `waypoint` **Long** A long value representing the id for the SpaceCenter.Waypoint
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## waypointGetSurfaceAltitude

**Extends SpaceCenter**

The altitude of the waypoint above the surface of the body or sea level,
whichever is closer, in meters.

**Parameters**

-   `waypoint` **Long** A long value representing the id for the SpaceCenter.Waypoint

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## waypointSetSurfaceAltitude

**Extends SpaceCenter**

The altitude of the waypoint above the surface of the body or sea level,
whichever is closer, in meters.

**Parameters**

-   `waypoint` **Long** A long value representing the id for the SpaceCenter.Waypoint
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## waypointGetBedrockAltitude

**Extends SpaceCenter**

The altitude of the waypoint above the surface of the body, in meters.
When over water, this is the altitude above the sea floor.

**Parameters**

-   `waypoint` **Long** A long value representing the id for the SpaceCenter.Waypoint

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## waypointSetBedrockAltitude

**Extends SpaceCenter**

The altitude of the waypoint above the surface of the body, in meters.
When over water, this is the altitude above the sea floor.

**Parameters**

-   `waypoint` **Long** A long value representing the id for the SpaceCenter.Waypoint
-   `value` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 

Returns **void** 

## waypointGetNearSurface

**Extends SpaceCenter**

<summary>true if the waypoint is near to the surface of a body.

**Parameters**

-   `waypoint` **Long** A long value representing the id for the SpaceCenter.Waypoint

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## waypointGetGrounded

**Extends SpaceCenter**

<summary>true if the waypoint is attached to the ground.

**Parameters**

-   `waypoint` **Long** A long value representing the id for the SpaceCenter.Waypoint

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## waypointGetIndex

**Extends SpaceCenter**

The integer index of this waypoint within its cluster of sibling waypoints.
In other words, when you have a cluster of waypoints called "Somewhere Alpha",
"Somewhere Beta" and "Somewhere Gamma", the alpha site has index 0, the beta
site has index 1 and the gamma site has index 2.
When [M:SpaceCenter.Waypoint.Clustered](M:SpaceCenter.Waypoint.Clustered) is false, this is zero.

**Parameters**

-   `waypoint` **Long** A long value representing the id for the SpaceCenter.Waypoint

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## waypointGetClustered

**Extends SpaceCenter**

<summary>true if this waypoint is part of a set of clustered waypoints with greek letter
names appended (Alpha, Beta, Gamma, etc).
If true, there is a one-to-one correspondence with the greek letter name and
the {@link M:SpaceCenter.Waypoint.Index}.

**Parameters**

-   `waypoint` **Long** A long value representing the id for the SpaceCenter.Waypoint

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## waypointGetHasContract

**Extends SpaceCenter**

Whether the waypoint belongs to a contract.

**Parameters**

-   `waypoint` **Long** A long value representing the id for the SpaceCenter.Waypoint

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## waypointGetContract

**Extends SpaceCenter**

The associated contract.

**Parameters**

-   `waypoint` **Long** A long value representing the id for the SpaceCenter.Waypoint

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## waypointManagerAddWaypoint

**Extends SpaceCenter**

Creates a waypoint at the given position at ground level, and returns a
[T:SpaceCenter.Waypoint](T:SpaceCenter.Waypoint) object that can be used to modify it.

Returns:

**Parameters**

-   `waypointManager` **Long** A long value representing the id for the SpaceCenter.WaypointManager
-   `latitude` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Latitude of the waypoint.
-   `longitude` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Longitude of the waypoint.
-   `body` **Long** A long value representing the id for the SpaceCenter.CelestialBody
-   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** Name of the waypoint.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## waypointManagerAddWaypointAtAltitude

**Extends SpaceCenter**

Creates a waypoint at the given position and altitude, and returns a
[T:SpaceCenter.Waypoint](T:SpaceCenter.Waypoint) object that can be used to modify it.

Returns:

**Parameters**

-   `waypointManager` **Long** A long value representing the id for the SpaceCenter.WaypointManager
-   `latitude` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Latitude of the waypoint.
-   `longitude` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Longitude of the waypoint.
-   `altitude` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Altitude (above sea level) of the waypoint.
-   `body` **Long** A long value representing the id for the SpaceCenter.CelestialBody
-   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** Name of the waypoint.

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## waypointManagerGetWaypoints

**Extends SpaceCenter**

A list of all existing waypoints.

**Parameters**

-   `waypointManager` **Long** A long value representing the id for the SpaceCenter.WaypointManager

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## waypointManagerGetIcons

**Extends SpaceCenter**

Returns all available icons (from "GameData/Squad/Contracts/Icons/").

**Parameters**

-   `waypointManager` **Long** A long value representing the id for the SpaceCenter.WaypointManager

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 

## waypointManagerGetColors

**Extends SpaceCenter**

An example map of known color - seed pairs.
Any other integers may be used as seed.

**Parameters**

-   `waypointManager` **Long** A long value representing the id for the SpaceCenter.WaypointManager

Returns **{call: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), decode: [function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)}** 
