IsSwimming - Actor

From the CreationKit Wiki
Jump to navigation Jump to search

SKSE Member of: Actor Script

Checks to see if this actor is currently swimming.

Syntax[edit | edit source]

bool Function IsSwimming() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

Whether this actor is swimming.

Examples[edit | edit source]

if Game.GetPlayer().IsSwimming()
  Debug.Trace("The player is enjoying a swim.")
endIf

See Also[edit | edit source]