Forum rules - please read before posting.

Lock/Unlock cursor action

edited July 2015 in Technical Q&A
Hello, can you help me with custom action for "Lock cursor in center", how we do previously for "select input method" action? (AC.KickStarter.settingsManager.inputMethod = InputMethod.MouseAndKeyboard;).
I need the same but for "Lock cursor in center" setting, it's possible?
Thank you.

Comments

  • Try this:

    AC.KickStarter.playerInput.cursorIsLocked = true;
  • Unfortunately it doesn't work.

  • Nevermind, i solved this problem in other way. Selection between First Person and Point and Click movement method works well for it
    Thank you.

    I have other problem, please take a look here

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.