double check to make sure you didn't mis-spell anything ('False' must have a capital 'F'). Also, make sure that it is indented properly (2 tabs, then pygame.mouse.set_visible(False)) If you are still having problems, post the error that it shows at terminal