Task Help in PROS

In PROS, how would I go about starting a task when a button is pressed?

You could just construct the task in the conditional that checks if the button is being pressed.

if(buttonpressed) {
constructTaskhere( );
}