Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Mouse Down and Up events firing even if the UIS processed parameter is true #216

Open
CaptinLetus opened this issue Dec 20, 2024 · 0 comments

Comments

@CaptinLetus
Copy link

At the moment, the mouse up and down events do not fire if the UserInputService processed parameter is true

UserInputService:Connect(function (input: InputObject, processed: boolean)
  if processed then return end
end)

My usecase, I am making a custom camera that players can rotate by holding down the right mouse button. If they release the mouse while hovering over a proximity prompt UI, the mouse up event does not fire since processed is true. For this mouse object, I want the events to fire even if processed is true

Perhaps we can add some configuration settings in the mouse constructor to set this as a setting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant