Skip to main content

RxHumanoidUtils

Functions

observeRunningSpeed

RxHumanoidUtils.observeRunningSpeed(humanoidHumanoid) → Observable<number>

Observes the running speed of a humanoid

TIP

When using :MoveTo this is the only way to know if the humanoid is walking at any speed

Show raw api
{
    "functions": [
        {
            "name": "observeRunningSpeed",
            "desc": "Observes the running speed of a humanoid\n\n:::tip\nWhen using :MoveTo this is the only way to know if the humanoid is walking at any speed\n:::",
            "params": [
                {
                    "name": "humanoid",
                    "desc": "",
                    "lua_type": "Humanoid"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Observable<number>"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 21,
                "path": "src/humanoidutils/src/Shared/RxHumanoidUtils.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "RxHumanoidUtils",
    "desc": "",
    "source": {
        "line": 4,
        "path": "src/humanoidutils/src/Shared/RxHumanoidUtils.lua"
    }
}