Skip to content

hm5-types (source format) / PlaybackTrigger

Type Alias: PlaybackTrigger ​

ts
type PlaybackTrigger = "click" | "pointerOver" | "pointerOut" | `key:${string}`;

what starts a symbol instance's actions (in a player): the pointer, or a keyboard key by its KeyboardEvent.code ("key:Space", "key:KeyA")

HereSplash — 2D animation for the web