I would like to be able to set the mouse’s position to accomplish this:
Currently it’s impossible to do that and the user would have to continually move their mouse to move the slider by one tick (really slow process)
Some other use cases for setting the mouse’s position are:
- Custom mouse sensitivty (currently only possible to modify camera sensitivity – not the amount of pixels the mouse moves)
- In first person games, move mouse to last known position before opening a modal GUI (super annoying in games like Warframe where they just move it to the top left and you have to move it allll the way to the bottom right to click something over and over)
- Moving the mouse to the close button of a prompt as soon as it opens for items that only need to be quickly glanced at and then closed (imagine opening the Discourse search, clicking “Options”, and then having the mouse move to the exit button)
I imagine there are more use cases as well – those are just the ones I personally have wanted to do in a project but couldn’t.
There are obviously some risks with implementing this on its own, but it’s possible to alleviate all of those:
- Preventing people from leaving the game by never letting their mouse enter the “Leave Game” button / moving their mouse to the “Close Menu” button when they’re about to click
- The mouse should not be able to have its position set when a modal member of the ROBLOX CoreGui is displayed on the screen
- Moving the mouse to where the purchase button would be and then prompting a purchase
- The purchase GUI tweens in, so nobody will be clicking a purchase button without knowing it since the tween in gives them time to realize that a purchase was promoted. As long as the purchase button is disabled until the tween is finished, nobody can set the mouse’s position to force people to buy products
It’s inevitable that someone will rush to post as soon as seeing the thread title without reading the risk section, but regardless now most everyone does know that those risks can be mitigated. I can’t think of any other risks, but if there are any, feel free to post them so we can devise countermeasures. Feel free to share your own use cases too. Once we’re sure there aren’t any risks in allowing the mouse’s position to be set, it’d be a wonderful feature to have.