Reference · Rockets, variants, parts and the fit check
motionSpeedfunction
How fast they move: fast is ten times the real speed, anything else the real speed.
Import it
import { motionSpeed } from "@johnmorrisdotca/uchusen-rockets";
Definition
function motionSpeed(attribute: string | null): MotionSpeed
Parameters
| Name | Type | Description |
|---|---|---|
attribute | string | null | The value of the |
Returns
MotionSpeed
10 for fast, else 1.
Examples
import { motionSpeed } from "@johnmorrisdotca/uchusen-rockets";
console.log(motionSpeed("fast"), motionSpeed("on"));10 1What it prints (run when this page was built)