Tool.Deactivated does not fire if the mouse button is released when the cursor is on top of a ProximityPrompt. I’m unsure if this is the case with other InputTypes/KeyCodes such as Touch and ButtonR2.
Video: (the text button in the top-left is set to show whether or not the mouse button is down, every frame)
Steps:
This will reproduce the issue 100% of the time:
1- Equip a tool
2- While the cursor is not on top of a ProximityPrompt, hold down the mouse button
3- Move your cursor on top of a ProximityPrompt
4- Release the mouse button
5- Observe Tool.Deactivated does not fire.
System info:
AMD Ryzen 5 5600G with Radeon Graphics
48.0GB DDR4 RAM @ 3200MHz (47.9 usable)
NVIDIA GeForce RTX 3070Ti
Repro file:
toolIssue.rbxl (50.5 KB)
Expected behavior
Tool.Deactivated should fire regardless of whether or not the cursor is on top of a ProximityPrompt.