Thanks to visit codestin.com
Credit goes to github.com

Skip to content

API: Animation

ᴏᴠ ━ ᴀɴɪꜱᴀ edited this page Mar 4, 2025 · 4 revisions

» Overview

Assetify offers a comprehensive suite of animation APIs designed for seamless integration into your external resources. This module allows developers to effortlessly incorporate animation assets directly into their resources, eliminating the need for extensive customization or additional overhead.

» Importing

Add the below code globally once in either of the shared .lua script of the resource you want to use within:

loadstring(exports.assetify_library:import("animation"))()

» APIs

  • assetify.animation.load - client

    Loads a valid animation asset on element.

    local bool: result = assetify.animation.load(
       element: element,
       string: assetName
    )
  • assetify.animation.unload - client

    Unloads a valid animation asset from element.

    local bool: result = assetify.animation.unload(
       element: element,
       string: assetName
    )
Clone this wiki locally