Press ButtonA while console virtual cursor is active registers as game processed event while ButtonR2 is not

I find this behavior inconsistent, using the virtual cursor and selecting a button, when pressing ButtonA the gpe param is true, but pressing ButtonR2 will result in the param to be false and both trigger the MouseButton1Click event

image

Expected behavior

make them both consistent and set gpe to the same value

Hi,

These two buttons are meant to do different things. ButtonR2 is to help with 3D interactions, tools or other systems that were programmed with gamepad in mind. ButtonA is specifically used for UI in UI selection mode and is the primary way of interacting with GuiObjects. I’d recommend sticking with ButtonA while in UI selection mode.

The fact both of them trigger MouseButton1Click events is to support different modes of compatibility and does not mean ButtonR2 and ButtonA are interchangeable.

Unfortunately these two keys cannot be made to return the same value, as this would be a breaking change.

Thanks!

1 Like