how many motors can be programmed to a button

I was wondering if i could program 4 motors to a single button

Yes you can. Just change the motor number in each function block. Make sure they are in the same while loop.