What it does
VirtualJoystickActive writes a value: it sets rather than reads. It takes index (an integer) and active (an integer), and returns nothing.
Syntax
VirtualJoystickActive(index integer, active integer)Parameters
| Name | Type |
|---|---|
| index | integer |
| active | integer |
Every form returns
nothing
Example · generated
VirtualJoystickActive(1, 1)DO Sync()LOOPVirtualJoystickActive is called with values of the types its signature asks for. 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.