Skip to content

addInstantaneousTimelineEvent

addInstantaneousTimelineEvent(title, description, icon, iconPriority, startOffsetSeconds, clipPriority): bigint | null

Adds an event that happens at one moment on the Steam timeline. Needs init().

string

Title shown on the timeline, in the language from getUiLanguage().

string

Description shown on the timeline, in the same language.

string

Name of an icon uploaded for the app, or a built-in steam_ icon.

number

Priority of the icon. Higher values are shown first.

number

Seconds from now at which the event happens. Negative for the past.

TimelineEventClipPriority

Whether the event makes a clip, and how important it is.

bigint | null

The event handle, or null when the timeline is unavailable. Throws when a text contains a NUL character or the offset is not finite.

Turn ideas into shipped software.

HagiCode is an agentic coding workspace. OpenSpec workflows plan the change, multi-agent execution carries it out, and Hero Scenario makes the long run visible, so ideas become shipped software.

Smart
OpenSpec workflows turn intent into a path from proposal to shipped change.
Efficient
Multi-agent execution runs research, build, and review in parallel.
Fun
Rich UI interactions make planning, agent work, and projects easier to follow.