VirtualJoystickPosition

Family: Input · One form

What it does

VirtualJoystickPosition writes a value: it sets rather than reads. It takes index (an integer), x (a float) and y (a float), and returns nothing.

Syntax

VirtualJoystickPosition(index integer, x float, y float)

Parameters

NameType
indexinteger
xfloat
yfloat

Every form returns

nothing

Example · generated

VirtualJoystickPosition(1, 100.0, 120.0)DO  Sync()LOOP

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

95 commands in Input