effectiveMode

The mode currently driving user input. Equals State.mode unless the user is holding the space bar (or has otherwise activated a temporary pan), in which case it returns Mode.PAN. The original State.mode is preserved so release of the temp-pan modifier restores the previous tool.