I am creating a first-person game that has key-binds to open certain UI elements, how would I go about making it so the player could move there cursor when when they open the UI?
there’s a “Modal” property in UI buttons (ex: text buttons, image button)
or you can change the mouse behavior in UserInputService (recommended method)
UserInputService.MouseBehavior = Enum.MouseBehavior.Default
UserInputService.MouseBehavior = Enum.MouseBehavior.LockCenter
1 Like