Invert Mouse Axis - Solved

(Helgard de Barros) #1

This is not essential, but a few of my play testers have asked for this option.

On my options menu I want to add the option to invert the mouse. So I know I have to set the Axis to -1, and there is an “Axis” block, but other than that I have no idea which other blocks would be needed to get this done. Has anyone done this?

I think it has to be something along these lines.

(Leslie Young) #2

I’ll check later today if I can creating a block to help you with this. It will not be possible via the propety block.

(Leslie Young) #3

Grab latest block package.
Option to set inverted (or not) is in Input > Set Axis Inverted


(Helgard de Barros) #4

So my option look like this:


Click the left arrow, it is false, right arrow it is true.


But it has no effect in the game. Do I need to add anything to the Apply button?

(Leslie Young) #5

You either have to pass True or False to the Set Axis Block depending on the selected settings. If you always pass false then invert is always off.

(Helgard de Barros) #6

Leslie, like I said above, the right arrow passes true.


(Helgard de Barros) #7

OK, for some reason it is working now. Closed Unity and started it again and everything works fine. Thanks again Leslie!!!