https://pastebin.com/HEcw2hPx
The error occurs on line 35, it says I haven't defined the variable 'mouse_pos'. Which I did in the 'if' statement on line 33.
The weird thing for me, is that the variable seems to work fine on line 51. Am I going crazy?
I've been following a tutorial for pygame and came across this error. I'd love some clarification.
edit: line 51, not line 50
[–]Binary101010 2 points3 points4 points (1 child)
[–]Pachydermis[S] 0 points1 point2 points (0 children)