XRRumble

Family: Platform · One form

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) → integer

Parameters

NameType
handstring
intensityfloat
durationinteger

Every form returns

integer

Example · generated

DO  Print(XRRumble("value", 1.0, 1))  Sync()LOOP

XRRumble 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.

111 commands in Platform