Skip to content

API: Interface

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

• assetify.interface.createFont - client

✨Creates font instance.
🚨This data is automatically collected and deleted after 3 seconds of inactivity to optimize memory management. Therefore, if you wish to retain it, you will need to call it each time you intend to use it rather than relying on caching.

local font: cFont = assetify.interface.createFont(
  string: path,
  float: size
)

• assetify.interface.isKeyOnHold- client

✨Verifies whether a key is pressed.

local bool: state = assetify.interface.isKeyOnHold(
  string: key
)

• assetify.interface.isKeyClicked- client

✨Verifies whether a key is clicked.

local bool: state = assetify.interface.isKeyClicked(
  string: key
)

• assetify.interface.isMouseScrolled - client

✨Verifies whether mouse is scrolled.

local string: state = assetify.interface.isMouseScrolled()

• assetify.interface.registerKeyClick - client

✨Registers key's click state.

local bool: state = assetify.interface.registerKeyClick(
  string: key
)

• assetify.interface.registerMouseScroll - client

✨Registers mouse's scroll state.

local bool: state = assetify.interface.registerMouseScroll()

Clone this wiki locally