controls the speed of the button in the direction given (adjusts the velocity system behind the scenes)
speed
Examples
const btn = $.makeButton(
$.w/2,
$.h/2,
100,
35,
"label"
);
btn.direction = 180;
btn.speed = 10;
function update() {
if(btn.y > $.h) {
btn.y = 0;
}
btn.draw();
}