how do you get it in pygame so that when you click on a rect it will reset the window but only when you click on that certain rect
wolfeater017 0 Light Poster
Recommended Answers
Jump to Postmake it so that if the position of the mouse is equal to somewhere within the rectangle AND if the mouse is clicked then do something-(relpy to me if you want actual code)
All 4 Replies
jimothy 0 Newbie Poster
wolfeater017 0 Light Poster
TrustyTony 888 ex-Moderator Team Colleague Featured Poster
wolfeater017 0 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.