IsSprinting - Actor

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: Actor Script

Checks to see if this actor is currently sprinting.

Syntax[edit | edit source]

bool Function IsSprinting() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

Whether this actor is sprinting.

Examples[edit | edit source]

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

See Also[edit | edit source]