How to turn on/off virtual cursor with script

how do i turn on or off virtual cursor mode with a script. for those of you who dont know what that is it’s basically a mouse that you control with the xbox thumbstick. its a pretty new feature and it was created for navigating complex menus

local StarterGui = game:GetService("StarterGui")
StarterGui.VirtualCursorMode = Enum.VirtualCursorMode.Disabled

Hopefully this helps! :smiley:

1 Like

thank you <3 i like ur username btw

1 Like

You’re welcome, and thank you so much! :heartbeat:

1 Like