Skip to main content

motion.get_current

Overview

  • Get the motion(s) currently playing on the target Zoi. Returns playing=false if idle, otherwise an array of active montage instances with anim_id, position (seconds), total_length, rate_scale, and group. Only Root component motions are reported (full-body).

Metadata

FieldValue
DisplayGet Current Motion
Categorymotion
AccessUserCheat
ScopeB2Authority
Tags
AliasesMotionGetCurrent

Parameters

NameTypeRequiredDefaultDescription
entity_identityIdnoTarget entity ID (default: possessed)

Returns

Returns a JSON object with the following fields:

FieldTypeRequiredDescription
playingboolyesWhether any motion is currently playing
motionsarrayyesActive montage instances (empty when idle)
motions[].anim_idstringyesAnimation id
motions[].montage_idstringyesMontage row id
motions[].groupstringyesMontage group name
motions[].positionfloatyesCurrent playback position (seconds)
motions[].total_lengthfloatyesTotal montage length (seconds)
motions[].rate_scalefloatyesPlayback rate scale
motions[].non_interruptibleboolyesWhether the montage is non-interruptible

Usage

await inzoi.cli.execute('motion.get_current', {
entity_id: 0, // optional
});