I'm following a tutorial online , creating a button for pygame.
textSurf,textRect = smallfont.render(msg,color,size)
I've just started learning pygame yesterday.
I met with an error stating that "Type Error: Integer is require". What does this mean? Can someone help me out?
The error is located at textSurf,textRect = smallfont.render(msg,color,size)