gameProcessed is always "true" when pressing ButtonA on a gamepad

buttonA.rbxl (57.9 KB)

How I am supposed to understand when ButtonA is pressed while cursor is on UI TextButton and when it is pressed without any purpose?

Expected behavior

I expect gameProcessed = false when just clicking ButtonA

Hello,

This may be due to our default PlayerScripts sinking (returning Enum.ContextActionResult.Sink) for ButtonA for Jump in the Gamepad module. If you fork PlayerScripts and edit that to return Enum.ContextActionResult.Pass, do you observe the same issue?

We’re working on fixing this with migrating default PlayerScripts to IAS.

No, it works correctly this way. 30 30 30 30

Thanks for the update! I’ll close this ticket as we won’t fix it in the current default PlayerScripts, but be on the lookout for when we migrate default PlayerScripts to IAS which will fix this problem.

1 Like