AnimPreviewInfo
which clip the preview plays, and where playback sits
Fields
5 members
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