Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

Sandbox.ModAPI.Ingame.IMyShipController.IsMainCockpit

Malware edited this page Dec 13, 2025 · 18 revisions

DEPRECATION NOTICE

This API documentation is out of date and no longer maintained.

Please visit the new documentation at: https://malforge.github.io/spaceengineers/pbapi

IndexNamespace IndexIMyShipController

Summary

public bool IsMainCockpit { get; set; }

Gets or sets if this controller is the main one for current ship Setter checks if there is any other main cockpit on the ship before proceeding

Returns

bool

Clone this wiki locally