Rumble#
To make Rumble blocks appear in VEXcode V5, a V5 Controller must be configured in the Devices window.
For more information, refer to these articles:
Play Controller Rumble#
The Play Controller Rumble block is used to create a vibrating effect on your V5 Controller.
aria-description goes here#
play rumble [Long v] on [Controller1 v]
Choose which rumble pattern to use:
Long - a series of 4 long rumbles in a row.
Short - a series of 4 short rumbles in a row.
Pulse - a series of rumbles in a long, short, long, short pattern.
Choose which controller to use.
In this example, the controller will do a short rumble pattern every time the X button is pressed.
aria-description goes here#
when [Controller1 v] button [X v] [pressed v] :: hat events
play rumble [Short v] on [Controller1 v]