Run the looper with a footswitch
Keep both hands on the guitar while your foot starts a take and brings the loop to a stop.

Play it through
Find the pedal input
Open Audio/MIDI and choose MIDI. Look under Available inputs and tap Rescan if needed. Press a switch and watch the message count on the matching input. Set Use as to Foot control. In Performance settings choose the Guitar + vocals rig and select Guitar as the Foot controller target.
Teach it two actions
On that input tap MIDI learn, choose Record / overdub / play and tap Listen. Press the first switch. Repeat with Stop track and the second switch. The action names and their MIDI triggers appear together on the input card.
Play without reaching for the screen
Tap Start MIDI stage and return to Live. Check the Foot control line for the target track. On an empty track, press the first switch and play your phrase. With the loop playing, the same switch opens an overdub. Press the second switch when you want that track to stop.
What you’ll hear
Your foot controls the selected loop while your hands keep playing. Other tracks can carry the groove through the stop.