Greetings kk97,
Thanks for using the Apple Support Communities!
I understand that the F2 key on your Mac’s built in keyboard isn’t responding as expected. To begin troubleshooting this situation, I would recommend reading over and working through the steps located in the following article.
Use the Keyboard Viewer to test whether the keyboard keys are responding correctly when they are pressed.
- Choose System Preferences from the Apple menu, then select Language & Text.
- Select Input Sources.
- Select the Keyboard & Character Viewer checkbox.
- Enable the input source for the keyboard layout you're testing by selecting the checkbox next to it.
- Make sure that "Show Input menu in menu bar" is enabled.
- Choose Show Keyboard Viewer from the Input menu in the menu bar.
- The Keyboard Viewer showing the keyboard layout appears on your display.
- Type the key on the keyboard that doesn’t respond and see if the corresponding key highlights on the Keyboard Viewer. If it does, that key is functioning correctly.
Notes:
- If the mouse keys feature in the Universal Access System Preferences pane is enabled, many of the keyboard keys may not respond as expected.
- If issues persist, try starting up your Mac in single-user mode to see whether a software issue is causing the issue.
If your Apple wireless mouse, keyboard, or trackpad aren't working as expected - Apple Support
Have a great day!