-1

I'm creating a game using the Ursina engine. In which I use FPS Controller. Which deactivates the mouse pointer. But at the same time I would need to use the mouse in inventory, for example. Is there a way to solve this? What I was looking for on the internet so I found various tips, but rather to hide the mouse pointer.

  • please provide a minimal code example – Tanay May 18 '22 at 13:50
  • https://stackoverflow.com/questions/69597502/properly-close-the-window-using-mouse-in-ursina/69647257#69647257 – pokepetter May 18 '22 at 17:49
  • Does this answer your question? [how to disable First Person Controller in ursina](https://stackoverflow.com/questions/71161918/how-to-disable-first-person-controller-in-ursina) – Lixt Jun 15 '22 at 20:00

2 Answers2

0

It seems you want to deactivate first person controller.

Change player to your fps controller variable | player = FirstPersonController() |

.

player.enabled = False

https://www.ursinaengine.org/cheat_sheet.html#FirstPersonController

Lixt
  • 201
  • 4
  • 19
0

Like this:

mouse.locked = False
mouse.visible = True
pokepetter
  • 1,383
  • 5
  • 8