What it does
XRRumble takes hand (a string), intensity (a float) and duration (an integer), and answers an integer.
Syntax
XRRumble(hand string, intensity float, duration integer) → integerParameters
| Name | Type |
|---|---|
| hand | string |
| intensity | float |
| duration | integer |
Every form returns
integer
Example · generated
DO Print(XRRumble("value", 1.0, 1)) Sync()LOOPXRRumble is called and its answer is printed every frame. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.