playMaker

Author Topic: 'Set Mouse Cursor' problem  (Read 1899 times)

wheretheidivides

  • Sr. Member
  • ****
  • Posts: 496
'Set Mouse Cursor' problem
« on: July 21, 2015, 02:17:56 AM »
So I am using the 'set mouse cursor' action.  I want it to enable when the main menu starts.  Then whenever the game starts, disable it.  So I want to hide it and disable the mouse cursor.  How do you do that?

1) It seems that this action just hides the mouse and does not disable it.
2) When it is off and I go back to the main menu, it turns on but will not move.  The pointer reappears but can not move it.  However, if I leave it turned off, then it is invisible but will move abound the screen (I can select the menu buttons).

So Is there another action to activate and deactivate the mouse?  What am I doing wrong?

So in scripting like this:
Screen.showCursor = false
or unity5
Cursor.visible = false;

Also, how do you lock the mouse cursor as well?
« Last Edit: July 21, 2015, 02:23:14 AM by wheretheidivides »

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D