How to make custom action based on button press in watch app?

Hello. In my watch app,I would like to hide hands for a few seconds after press of bottom right button (usually the LAP button). I just need to set up boolean variable after button is pressed. Is that possible?