# Animation Time Remaining

Grammar — The timer remaining returned by animation query handle
FlagsNative | Function

Returns the animation time remaining previously queried. Pass this function the handle returned by the “Last Animation Query” functions to get the value, but make sure that you call Wait for Animation first to ensure that the animation query is finished. This function is only valid with a handle created by “Query Animation Length By Name”.

# Arguments

  • generichandle [ animlengthquery ] — Handle

Returns — fixed

native fixed AnimLengthRemainingSync(generichandle h);

Category: Animation / Advanced

# Examples

# mods/novastoryassets.sc2mod

MapScript.galaxy

// L6742
AnimLengthRemainingSync(lv_carAnimation)
// L7149
AnimLengthRemainingSync(lv_carAnimation)
// L6742
AnimLengthRemainingSync(lv_carAnimation)
// L7149
AnimLengthRemainingSync(lv_carAnimation)