Skip to content

ax.motion

Source: gamemode/framework/libraries/cl_motion.lua

Advanced panel animation handler using easing for custom fields. Supports delays, per-field animation isolation, and cancelation.

Documented functions: 6

Functions


ax.motion:Cancel(panel, key)

Cancels a specific animation on a panel.

Realm: client


ax.motion:CancelAll(panel)

Cancels all animations on a panel.

Realm: client


ax.motion:Motion(panel, duration, data)

Starts a property animation on a panel.

Realm: client


PANEL:CancelAllAnimations()

Cancel all animations on this panel.

Realm: client


PANEL:CancelAnimation(key)

Cancel a specific animation on this panel.

Realm: client


PANEL:Motion(duration, data)

Animate custom properties with easing.

Realm: client