*ive never done this but im assuming you can do like*, if y=100 (lets say 100) and X=100 and button pressed() #a then (whatever you want it to do)
this is just my assumption so i might be totally wrong, or use sprite collision, if the mouse sprite is touching whatever button sprite and button is pressed then do whatever.
1そうだね 未プレイ