Luduvo Contents
Theme
On this page

AnimPreviewInfo

which clip the preview plays, and where playback sits

Fields

5 members

clip: string?

name of the currently playing animation clip

playing: boolean

whether the preview animation is currently playing

shared: boolean

whether playback state is shared across peers

speed: number

playback speed multiplier

time: number

current playback position in seconds

Reading Editor Preview Playback

Lifecycle: Server

Preview state only exists while the editor drives a clip, so both the result and its clip name can be nil.

Luau
local dummy = handles.TrainingDummylocal preview = dummy:AnimationPreview()if preview and preview.playing then	print(string.format("%s at %.2f s, speed %.2f", preview.clip or "unnamed", preview.time, preview.speed))end