Place an "if" block inside a "forever" loop to check if the arrow key is pressed.
If it is, broadcast the forward message.
Attributions
Super Mario Bros (version 10) by PaulKoning (https://scratch.mit.edu/projects/49905542/) licensed under CC BY-SA 2.0 (https://creativecommons.org/licenses/by-sa/2.0/)