<!--
{
  "documentType" : "article",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/function-key-unicode-values",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Function-Key Unicode Values"
}
-->

# Function-Key Unicode Values

Constants for reserved keyboard function keys that correspond to unicode characters.

## Discussion

These constants correspond to unicode characters in the range (0xF700–0xF8FF) and are values you can use with the [`characters`](/documentation/AppKit/NSEvent/characters) and [`charactersIgnoringModifiers`](/documentation/AppKit/NSEvent/charactersIgnoringModifiers) properties of the event. You can also use them in some parameters in the [`keyEvent(with:location:modifierFlags:timestamp:windowNumber:context:characters:charactersIgnoringModifiers:isARepeat:keyCode:)`](/documentation/AppKit/NSEvent/keyEvent(with:location:modifierFlags:timestamp:windowNumber:context:characters:charactersIgnoringModifiers:isARepeat:keyCode:)) method of the event.

Note that the system handles some function keys at a lower level and your app never sees them. Examples include the Volume Up key, Volume Down key, Volume Mute key, Eject key, and Function key found on many Macs.

## Topics

### Getting Common Control Keys

[`NSDeleteFunctionKey`](/documentation/AppKit/NSDeleteFunctionKey)

The forward delete key.

### Getting the Navigation-Related Keys

[`NSUpArrowFunctionKey`](/documentation/AppKit/NSUpArrowFunctionKey)

The up arrow key.

[`NSDownArrowFunctionKey`](/documentation/AppKit/NSDownArrowFunctionKey)

The down arrow key.

[`NSLeftArrowFunctionKey`](/documentation/AppKit/NSLeftArrowFunctionKey)

The left arrow key.

[`NSRightArrowFunctionKey`](/documentation/AppKit/NSRightArrowFunctionKey)

The right arrow key.

[`NSPageUpFunctionKey`](/documentation/AppKit/NSPageUpFunctionKey)

The page up key.

[`NSPageDownFunctionKey`](/documentation/AppKit/NSPageDownFunctionKey)

The page down key.

[`NSHomeFunctionKey`](/documentation/AppKit/NSHomeFunctionKey)

The home key.

[`NSEndFunctionKey`](/documentation/AppKit/NSEndFunctionKey)

The end key.

[`NSPrevFunctionKey`](/documentation/AppKit/NSPrevFunctionKey)

Previous key.

[`NSNextFunctionKey`](/documentation/AppKit/NSNextFunctionKey)

The next key.

### Getting Special Behavior Keys

[`NSBeginFunctionKey`](/documentation/AppKit/NSBeginFunctionKey)

The begin key.

[`NSBreakFunctionKey`](/documentation/AppKit/NSBreakFunctionKey)

The break key.

[`NSClearDisplayFunctionKey`](/documentation/AppKit/NSClearDisplayFunctionKey)

The clear display key.

[`NSClearLineFunctionKey`](/documentation/AppKit/NSClearLineFunctionKey)

The clear or num lock key.

[`NSDeleteCharFunctionKey`](/documentation/AppKit/NSDeleteCharFunctionKey)

The delete character key.

[`NSDeleteLineFunctionKey`](/documentation/AppKit/NSDeleteLineFunctionKey)

The delete line key.

[`NSExecuteFunctionKey`](/documentation/AppKit/NSExecuteFunctionKey)

The execute key.

[`NSFindFunctionKey`](/documentation/AppKit/NSFindFunctionKey)

The find key.

[`NSHelpFunctionKey`](/documentation/AppKit/NSHelpFunctionKey)

The help key.

[`NSInsertFunctionKey`](/documentation/AppKit/NSInsertFunctionKey)

The insert key.

[`NSInsertCharFunctionKey`](/documentation/AppKit/NSInsertCharFunctionKey)

The insert character key.

[`NSInsertLineFunctionKey`](/documentation/AppKit/NSInsertLineFunctionKey)

The insert line key.

[`NSMenuFunctionKey`](/documentation/AppKit/NSMenuFunctionKey)

The menu key.

[`NSModeSwitchFunctionKey`](/documentation/AppKit/NSModeSwitchFunctionKey)

The mode switch key.

[`NSPauseFunctionKey`](/documentation/AppKit/NSPauseFunctionKey)

The pause key.

[`NSPrintFunctionKey`](/documentation/AppKit/NSPrintFunctionKey)

The print key.

[`NSPrintScreenFunctionKey`](/documentation/AppKit/NSPrintScreenFunctionKey)

The print screen key.

[`NSRedoFunctionKey`](/documentation/AppKit/NSRedoFunctionKey)

The redo key.

[`NSResetFunctionKey`](/documentation/AppKit/NSResetFunctionKey)

The reset key.

[`NSScrollLockFunctionKey`](/documentation/AppKit/NSScrollLockFunctionKey)

The scroll lock key.

[`NSSelectFunctionKey`](/documentation/AppKit/NSSelectFunctionKey)

The select key.

[`NSStopFunctionKey`](/documentation/AppKit/NSStopFunctionKey)

The stop key.

[`NSSysReqFunctionKey`](/documentation/AppKit/NSSysReqFunctionKey)

The system request key.

[`NSSystemFunctionKey`](/documentation/AppKit/NSSystemFunctionKey)

The system key.

[`NSUndoFunctionKey`](/documentation/AppKit/NSUndoFunctionKey)

The undo key.

[`NSUserFunctionKey`](/documentation/AppKit/NSUserFunctionKey)

The user key.

### Getting the Function Keys

[`NSF1FunctionKey`](/documentation/AppKit/NSF1FunctionKey)

The F1 key.

[`NSF2FunctionKey`](/documentation/AppKit/NSF2FunctionKey)

The F2 key.

[`NSF3FunctionKey`](/documentation/AppKit/NSF3FunctionKey)

The F3 key.

[`NSF4FunctionKey`](/documentation/AppKit/NSF4FunctionKey)

The F4 key.

[`NSF5FunctionKey`](/documentation/AppKit/NSF5FunctionKey)

The F5 key.

[`NSF6FunctionKey`](/documentation/AppKit/NSF6FunctionKey)

The F6 key.

[`NSF7FunctionKey`](/documentation/AppKit/NSF7FunctionKey)

The F7 key.

[`NSF8FunctionKey`](/documentation/AppKit/NSF8FunctionKey)

The F8 key.

[`NSF9FunctionKey`](/documentation/AppKit/NSF9FunctionKey)

The F9 key.

[`NSF10FunctionKey`](/documentation/AppKit/NSF10FunctionKey)

The F10 key.

[`NSF11FunctionKey`](/documentation/AppKit/NSF11FunctionKey)

The F11 key.

[`NSF12FunctionKey`](/documentation/AppKit/NSF12FunctionKey)

The F12 key.

[`NSF13FunctionKey`](/documentation/AppKit/NSF13FunctionKey)

The F13 key.

[`NSF14FunctionKey`](/documentation/AppKit/NSF14FunctionKey)

The F14 key.

[`NSF15FunctionKey`](/documentation/AppKit/NSF15FunctionKey)

The F15 key.

[`NSF16FunctionKey`](/documentation/AppKit/NSF16FunctionKey)

The F16 key.

[`NSF17FunctionKey`](/documentation/AppKit/NSF17FunctionKey)

The F17 key.

[`NSF18FunctionKey`](/documentation/AppKit/NSF18FunctionKey)

The F18 key.

[`NSF19FunctionKey`](/documentation/AppKit/NSF19FunctionKey)

The F19 key.

[`NSF20FunctionKey`](/documentation/AppKit/NSF20FunctionKey)

The F20 key.

[`NSF21FunctionKey`](/documentation/AppKit/NSF21FunctionKey)

The F21 key.

[`NSF22FunctionKey`](/documentation/AppKit/NSF22FunctionKey)

The F22 key.

[`NSF23FunctionKey`](/documentation/AppKit/NSF23FunctionKey)

The F23 key.

[`NSF24FunctionKey`](/documentation/AppKit/NSF24FunctionKey)

The F24 key.

[`NSF25FunctionKey`](/documentation/AppKit/NSF25FunctionKey)

The F25 key.

[`NSF26FunctionKey`](/documentation/AppKit/NSF26FunctionKey)

The F26 key.

[`NSF27FunctionKey`](/documentation/AppKit/NSF27FunctionKey)

The F27 key.

[`NSF28FunctionKey`](/documentation/AppKit/NSF28FunctionKey)

The F28 key.

[`NSF29FunctionKey`](/documentation/AppKit/NSF29FunctionKey)

The F29 key.

[`NSF30FunctionKey`](/documentation/AppKit/NSF30FunctionKey)

The F30 key.

[`NSF31FunctionKey`](/documentation/AppKit/NSF31FunctionKey)

The F31 key.

[`NSF32FunctionKey`](/documentation/AppKit/NSF32FunctionKey)

The F32 key.

[`NSF33FunctionKey`](/documentation/AppKit/NSF33FunctionKey)

The F33 key.

[`NSF34FunctionKey`](/documentation/AppKit/NSF34FunctionKey)

The F34 key.

[`NSF35FunctionKey`](/documentation/AppKit/NSF35FunctionKey)

The F35 key.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)