The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar


Generates a temporary asset ID from a KeyframeSequence that can be used for localized testing of an animation.

This function performs the same function to KeyframeSequenceProvider/RegisterKeyframeSequence however this function generates an active:// URL instead of a hash.

The ID generated can be used in an Animation’s Animation/AnimationId property for testing.

The asset ID generated by this function is temporary and cannot be used outside of Studio. Developers wishing to generate an asset ID that can be used online should upload the KeyframeSequence to Roblox.


Name Type Default Description

The KeyframeSequence to be used.


Return Type Summary

A temporary asset ID generated for localized animation playback.

Code Samples

Create temporary animation

This code sample contains a simple function to generate an Animation with a generated hash ID to preview a KeyframeSequence locally.