Hello, there! I’m currently in trouble with Button component.
I’m trying to achieve blocking right-click when user interact with button component.
Is it possible?
or
blocking right-click globally also works…
I’ve tried official guide, on section “Button Click Events” and subsection “Add a callback using the script”, Example method’s parameter is Button type, not EventTouch or EventMouse. So I couldn’t know if users tap it with rightclicking.
I appreciate any guidance to how to solve this issue…
Cocos Creator 3.8 Manual - Button Component Reference