Say I was building a simple game and I had a menu with Play, Settings, Music etc. All laid out in the middle of the screen, how would I check if the mouse was over one of those areas and if the mouse clicked while over one of those areas?
Other people have asked similar things to this but I cannot find a working example or a clear solution to my question.