▲ 2 r/learnpython
Attribute error
I'm trying to develop a clicker game. This one line of code keeps returning this error message though.
The line: "pygame.draw.rect(self.femboy_color,self.femboy,border_radius=150)"
The error message: "AttributeError: module 'self' has no attribute 'femboy_color'"
What does this error message mean and how do I fix it?
u/LocalPlatypus994 — 19 hours ago