Lhamu Tsering
Feb 28, 2021

Hi Karman, looks like this errors stems from the user_click function. Can you make sure that you have stated this line of code saying what coordinates to look at for a mouse click:

# get coordinates of mouse click

x, y = pg.mouse.get_pos()

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Lhamu Tsering
Lhamu Tsering

Responses (2)

Write a response