Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

how to move around the mouse using a script?

iv been searching and searching but i cannot seem to find anyway to move the mouse around via scripting so im hoping somone on here would know?

1 answer

http://wiki.roblox.com/index.php?title=API:Class/Mouse You can’t really force the player to move his mouse.

2 comments

0

what about for like a recoil for a gun? you can make the mouse move up a bit?

0

All a recoil does is play an animation on your player and change camera cframe. If you’ve seen recoil in a first person shooter, that is probably what happens. The mouse is locked to the centre so when camera moves, it seems that the mouse moves too.

This discussion is preserved as it was. New answers, comments, and votes are closed.