Bryno 21 Posted September 21, 2021 Hi guys! So I am easily drawing images and text using the onPaint() method. I was just curious though... I wanted to make a small button and when clicked do something in the script. How can I achieve this? Is this still in onPaint() ? Thanks!
Pandemic 2818 Posted September 21, 2021 You can use a MouseListener and check for clicks within your button's clickable area
boomslap 5 Posted November 20, 2021 Could there possibly be a solution though to only capture user clicks and not clicks performed by the bot? Because the bot could click accidentally on a clickable area.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.