Answer the question
In order to leave comments, you need to log in
How to add mouseover events to a sprite in pygame?
I'm making a game where you can break blocks and put (something like) in 2d on pygame.
I wanted to make it so that when the user hovered the mouse over the block, the block would have white borders, but I did not know how to do it!
Plz, help me to do something, I will be very grateful.
Thank you.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question