LEGO® Powered UP App Widget blocks explained

A list of widget blocks with short descriptions. This is not official documentation. Names and descriptions were created after running experiments and observing the app and component’s behavior.

Button widget

Output true if the canvas button is pressed

Toggle widget

Output true if the canvas toggle is active

Push button widget

Output 100 if the upper canvas push button is pressed, output -100 if the lower canvas push button is pressed

Display widget

Show value on canvas display

Joystick widget

Output canvas joystick value

Slider widget

Output canvas slider value

Joystick – speed control widget

Output canvas joystick value on the y-axis (speed)

Joystick – steering control widget

Output canvas joystick value on the x-axis (steer left or right)

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *