I'm writing a media player and need the best way to detect if the player buttons have been clicked. Something like:
If withinRange([421, 400], [0, 0], MouseLocation): print(a) would be awesome. Ideally I would place the coordinates around my button. Thanks. -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.
