+ 1
How to create button position using pygame
2 odpowiedzi
+ 2
Creating interactable buttons using pygame
rect() , screen. blit() etc. To add more liveliness to it we can change the color of the button as the mouse has hovered on it. This can be done by using a function that updates the x and y position of the mouse pointer and storing it as a tuple in a variable.
For postion as you know that rect() function accept some parameter that is x, y, size and color
+ 1
Ty bro