running

fun running(): Boolean

Whether or not the player is running.

Return

true if the player is running, false otherwise.

fun running(running: Boolean): Boolean

Attempts to set the player to the specified running state.

Return

true if the state was successfully set, false otherwise.

Parameters

running

true to run, false to walk.