To elaborate - I want a setup where LMB clicking (in the LMB to select setup) on an empty space in the 3D View causes all of the mesh to be deselected when in Edit Mode, all objects when in Object mode, etc. I specifically would like to do it via an addon, but any help is appreciated.

  • $\begingroup$ I'm not sure what you want.. Do you just want to deselected everything (in python)? $\endgroup$
    – gandalf3
    Commented Jul 24, 2014 at 18:45
  • $\begingroup$ I edited the question with a clearer explanation. $\endgroup$ Commented Jul 24, 2014 at 18:50

1 Answer 1


It's actually really simple:

  • Go to User Preferences > Input and change the filter type from Name to Key-Binding
  • Search for action and find the 3D View category
  • Change view3d.cursor3d to object.select_all
  • Set Action to Deselect

  • Clear search filter
  • Expand 3D View > Mesh and Add New
  • Set it to mesh.select_all and Deselect
  • Bind it to Mouse, Action and Press
  • $\begingroup$ Sorry, I messed up. I meant Select mouse (I think is the term). So - LMB clicking on empty space in the LMB to select setup, or RMB in the RMB to select. $\endgroup$ Commented Jul 25, 2014 at 16:11
  • $\begingroup$ I see, my bad! You can still make it work: bind the select_all operation to double-click so it doesn't interfere with LMB select click! $\endgroup$
    – CodeManX
    Commented Jul 25, 2014 at 17:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .