Ce que fait la commande
XRControllerAxis prend hand (une chaîne) et axis (un entier), et rend un flottant.
Syntaxe
XRControllerAxis(hand string, axis integer) → floatParamètres
| Nom | Type |
|---|---|
| hand | string |
| axis | integer |
Chaque forme rend
float
Exemple · engendré
DO Print(XRControllerAxis("value", 1)) Sync()LOOPXRControllerAxis est appelé et sa réponse est affichée à chaque image. La boucle DO … LOOP n'est pas décorative : un programme BASIC classique s'arrête dès qu'il n'a plus de lignes, et c'est Sync() qui dessine l'image.