How to move the player in game mouse via local script

  1. So you know the in game mouse roblox provides, i know how to change its icon, i know how to detect its position and see what stuff it left clicks. But i cant move it via a local script
    I already have a function that determines whether the client is on mobile or on pc. Yes i intend my game to be for pc players only
  2. Capture
    I searched everywhere on the dev forum and even youtube. But found nothing about moving the actual mouse itself
  3. It moves only when i move my mouse (which is understandable)

Thank you for taking your time to look

Pretty sure it’s impossible to move the cursor but you could hide the current cursor, make your own cursor that goes to the mouse position and you can move that cursor however you want.

1 Like

I really have no idea if this would work but I would love to help, what would do is make a variable for the players mouse using:

local player = game.Players.LocalPlayer
local mouse = player:GetMouse

After that I’d try to maybe set the mouse position using a new Vector3 and setting the mouse cursor to that.

1 Like

i tried that but it seems its impossible. I’ll just make a whole new mouse cursor

Yes! That is a good idea @Tommybridge, looks like we’ll be the tutorial when someone looks this up in the future. (:

2 Likes