# Query Animation Length By Props

Grammar — Query the length of animation defined by props animProps for actor
FlagsNative | Action

Starts a query for the animation length of the specific animation props for the given actor. Note that the animation length time may vary from player to player due to different game states or localities. This function will query the maximum length time of all players when there are different values. Note that you may only do 512 animation length queries maximum in a single game. Use the “Last Animation Query” function to get a handle to this query which can be used to get the information retrieved after the query is complete.

# Arguments

  • actor — Actor
  • string<modelanim> — Anim Props

Returns — void

native void AnimLengthQueryByProps(
	actor a,
	string animProps,
);

Category: Animation / Advanced

# Examples

— None found —