# Alarm¶

class Alarm

Represents an alarm. Obtained by calling alarms, alarm_with_name() or alarms_with_type().

action

The action that the alarm triggers.

Attribute: Can be read or written AlarmAction All
margin

The number of seconds before the event that the alarm will fire.

Attribute: Can be read or written double All
time

The time at which the alarm will fire.

Attribute: Can be read or written double All
type

The type of the alarm.

Attribute: Read-only, cannot be set AlarmType All
id

The unique identifier for the alarm.

Attribute: Read-only, cannot be set str All
name

The short name of the alarm.

Attribute: Can be read or written str All
notes

The long description of the alarm.

Attribute: Can be read or written str All
remaining

The number of seconds until the alarm will fire.

Attribute: Read-only, cannot be set double All
repeat

Whether the alarm will be repeated after it has fired.

Attribute: Can be read or written bool All
repeat_period

The time delay to automatically create an alarm after it has fired.

Attribute: Can be read or written double All
vessel

The vessel that the alarm is attached to.

Attribute: Can be read or written SpaceCenter.Vessel All
xfer_origin_body

The celestial body the vessel is departing from.

Attribute: Can be read or written SpaceCenter.CelestialBody All
xfer_target_body

The celestial body the vessel is arriving at.

Attribute: Can be read or written SpaceCenter.CelestialBody All
remove()

Removes the alarm.

Game Scenes: All