IsSprinting - Actor

Member of: Actor Script

Checks to see if this actor is currently sprinting.

SyntaxEdit

bool Function IsSprinting() native

ParametersEdit

None.

Return ValueEdit

Whether this actor is sprinting.

ExamplesEdit

if Game.GetPlayer().IsSprinting()
  Debug.Trace("Careful, you might trip and hurt yourself!")
endIf

See AlsoEdit