---
title: alertFirstButtonReturn
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nsapplication/modalresponse/alertfirstbuttonreturn
---

# alertFirstButtonReturn

The user clicked the first (rightmost) button on the dialog or sheet.

## Declaration

```swift
static var alertFirstButtonReturn: NSApplication.ModalResponse { get }
```

## See Also

### Responses

- [OK](appkit/nsapplication/modalresponse/ok.md)
- [cancel](appkit/nsapplication/modalresponse/cancel.md)
- [continue](appkit/nsapplication/modalresponse/continue.md)
- [stop](appkit/nsapplication/modalresponse/stop.md)
- [abort](appkit/nsapplication/modalresponse/abort.md)
- [alertSecondButtonReturn](appkit/nsapplication/modalresponse/alertsecondbuttonreturn.md)
- [alertThirdButtonReturn](appkit/nsapplication/modalresponse/alertthirdbuttonreturn.md)
