Skip to content

API: Interface

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

• assetify.interface.createFont - client

✨Creates font instance.

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 state.

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

Clone this wiki locally