#How to get right or left mouse input on button?
1 messages · Page 1 of 1 (latest)
if event is InputEventMouseButton and event.pressed:
match event.button_index:
BUTTON_LEFT:
# Left mouse button was pressed
print("Left mouse button clicked on the button")
BUTTON_RIGHT:
# Right mouse button was pressed
print("Right mouse button clicked on the button")
if so, thats what you probably need
Can you pls explain it