---
title: NSMomentaryPushButton
framework: appkit
role: symbol
role_heading: Global Variable
path: appkit/nsmomentarypushbutton
---

# NSMomentaryPushButton

When the button is clicked (on state), it appears illuminated. If the button has a bordered, it may also appear recessed. When the button is released, it returns to its normal (off) state.

## Declaration

```occ
static const NSButtonType NSMomentaryPushButton;
```

## See Also

### Deprecated Button Types

- [NSMomentaryLightButton](appkit/nsmomentarylightbutton.md)
- [NSPushOnPushOffButton](appkit/nspushonpushoffbutton.md)
- [NSToggleButton](appkit/nstogglebutton.md)
- [NSSwitchButton](appkit/nsswitchbutton.md)
- [NSRadioButton](appkit/nsradiobutton.md)
- [NSMomentaryChangeButton](appkit/nsmomentarychangebutton.md)
- [NSOnOffButton](appkit/nsonoffbutton.md)
- [NSAcceleratorButton](appkit/nsacceleratorbutton.md)
- [NSMultiLevelAcceleratorButton](appkit/nsmultilevelacceleratorbutton.md)
- [NSMomentaryPushInButton](appkit/nsmomentarypushinbutton.md)
- [NSMomentaryLight](appkit/nsmomentarylight.md)
