AnalogStick
A little joystick-like input device for your gadget, which has smooth movement in all directions.
Similar to the D-Pad in functionality.
Properties
The position of the stick along the horizontal axis, ranging from -100 to 100.
The position of the stick along the vertical axis, ranging from -100 to 100.
The module associated with the stick's horizontal axis. See InputSource for more info.
The module associated with the stick's vertical axis. See InputSource for more info.
Events
StickValueChangeEvent : { X number, Y number, Type string }
Triggered when the stick is moved.
*X
andY
are the respective values of the stick
*Type
is"StickValueChangeEvent"
In the Multitool
You can set the InputSource
properties from the Multitool while editing your gadget to set these values without using code.