The FDA approved EndeavorRX on Monday.
The video game will be by prescription only and aimed at kids between the ages of eight and 12.
Children playing the game steer an avatar through an obstacle course and collect targets to earn rewards.
The company that created EndeavorRX said it was shown to improve attention function.
The FDA noted that some negative effects have been reported.
Such as frustration, headache, dizziness, emotional reaction and aggression.